tiny fix :)
This commit is contained in:
@@ -657,7 +657,7 @@ class BaseMeta(type):
|
||||
obj = super().__call__(*args, **kw)
|
||||
|
||||
for _fname, _fvalue in cls.__DABSchema__.items():
|
||||
setattr(obj, _fname, _fvalue)
|
||||
setattr(obj, _fname, _fvalue.value)
|
||||
inst_schema: dict[str, Any] = {}
|
||||
for _fname, _fvalue in cls.__DABSchema__.items():
|
||||
inst_schema[_fname] = FrozenDABField(_fvalue)
|
||||
|
||||
Reference in New Issue
Block a user