Skip to content

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

@XChikuX

Description

@XChikuX

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions