Skip to content

[Bug] object has no attribute 'model_fields' #689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
XChikuX opened this issue Apr 10, 2025 · 0 comments
Open

[Bug] object has no attribute 'model_fields' #689

XChikuX opened this issue Apr 10, 2025 · 0 comments

Comments

@XChikuX
Copy link

XChikuX commented Apr 10, 2025

After redis-om >=0.3.4 I get.

I am still on pydantic v1

e-packages/aredis_om/model/model.py", line
                              1465, in __init__
                                  missing_fields =
                              __pydantic_self__.model_fields.keys() -
                              data.keys() - {"pk"}
                              AttributeError: 'Email' object has no
                              attribute 'model_fields'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant