We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Redis-OM JsonModel __init__ does not take advantage of type hints even though it subclasses pydantic BaseModel.
__init__
To Reproduce Steps to reproduce the behavior:
pip install redis_om
Expected behavior Type hints are used in method parameter popup.
Screenshots Popup uses type hints when it subclasses BaseModel:
But doesn't when it subclasses JsonModel:
Class hierarchy of JsonModel:
Environments (please complete the following information):
Additional context JsonModel implements __init__ so I tried to follow solution shown in #344 but it was to no avail.
The text was updated successfully, but these errors were encountered:
**kwargs
Successfully merging a pull request may close this issue.
Describe the bug
Redis-OM JsonModel
__init__
does not take advantage of type hints even though it subclasses pydantic BaseModel.To Reproduce
Steps to reproduce the behavior:
pip install redis_om
__init__
.Expected behavior
Type hints are used in method parameter popup.
Screenshots

Popup uses type hints when it subclasses BaseModel:
But doesn't when it subclasses JsonModel:

Class hierarchy of JsonModel:

Environments (please complete the following information):
Additional context
JsonModel implements
__init__
so I tried to follow solution shown in #344 but it was to no avail.The text was updated successfully, but these errors were encountered: