Skip to content
Snippets Groups Projects
Commit 18fde504 authored by vlorentz's avatar vlorentz
Browse files

Add missing slots=True for Directory.

parent 57468505
No related branches found
No related tags found
No related merge requests found
......@@ -567,7 +567,7 @@ class DirectoryEntry(BaseModel):
"""Usually one of the values of `swh.model.from_disk.DentryPerms`."""
@attr.s(frozen=True)
@attr.s(frozen=True, slots=True)
class Directory(HashableObject, BaseModel):
object_type: Final = "directory"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment