Open ManiMozaffar opened 1 year ago
Hello! This gives me errors with
NameError: Field name "session" shadows an attribute in parent "RedBase"; you might want to use a different field name with "alias='session'".
/usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:127: UserWarning: Field "model_orm" has conflict with protected namespace "model_".
Not sure if it is specific to this fork or if it is redbird in general.
There's another repo where I tried to support pydantic v2 instead of v1, but that's alot of work, so for now I think best solution would be to use v1 but in v2, this would make compatible for tools that are already based on v2.