Skip to content

JsonModel.schema_for_type() missing 2 required positional arguments: 'typ' and 'field_info' #619

Closed
@DennyD17

Description

@DennyD17

redis-om = "^0.3.1"

Here we try to pass 3 args to schema_for_type
https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L1985

But it seems like it takes 5
https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L1994

So I get
JsonModel.schema_for_type() missing 2 required positional arguments: 'typ' and 'field_info'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions