-
Notifications
You must be signed in to change notification settings - Fork 109
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
JsonModel.schema_for_type() missing 2 required positional arguments: 'typ' and 'field_info' #619
Comments
Hi @DennyD17 - I really need a reproduction of this issue to make any progress. |
If we create JsonModel with non-str pk we will get this error
Here you pass 3 positional arguments to method expecting 5
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'
The text was updated successfully, but these errors were encountered: