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
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
Traceback (most recent call last):
File "<redatcted>/test.py", line 14, in <module>
MyModel(type=MyEnum.ENUM_VAL)
File "<redatcted>/venv/lib/python3.8/site-packages/mongoengine/base/document.py", line 92, in __init__
raise FieldDoesNotExist(msg)
mongoengine.errors.FieldDoesNotExist: The fields "{'type'}" do not exist on the document "MyModel"
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Why this isn't working? If I change
EnumField
to beStringField
it works, so the problem probably ismarshmallow_enum
The text was updated successfully, but these errors were encountered: