set kw_only and auto_attribs for all storage model objects

This commit is contained in:
Michael Hudson-Doyle 2023-07-10 10:51:41 +12:00
parent 53e6738e5f
commit 678f730937
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def fsobj(typ):
c.__annotations__['id'] = str
c.__annotations__['_m'] = "FilesystemModel"
c.__annotations__['type'] = str
c = attr.s(eq=False, repr=False)(c)
c = attr.s(eq=False, repr=False, auto_attribs=True, kw_only=True)(c)
c.__repr__ = fsobj__repr
_type_to_cls[typ] = c
return c