You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\xxxx\main.py", line 3, in <module>
class User(Model):
File "C:\xxxx\lib\site-packages\odmantic\model.py", line 381, in __new__
mcs.__validate_cls_namespace__(name, namespace)
File "C:\xxxx\lib\site-packages\odmantic\model.py", line 219, in __validate_cls_namespace__
substituted_type = validate_type(field_type)
File "C:\xxxx\lib\site-packages\odmantic\model.py", line 176, in validate_type
setattr(type_, "__args__", new_arg_types)
AttributeError: readonly attribute
The text was updated successfully, but these errors were encountered:
Caused errors like this:
The text was updated successfully, but these errors were encountered: