yezz123 / fastapi-class

provides a class-based View decorator to help reduce the amount of boilerplate necessary when developing related routes. ✨🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newer version of pydantic needed for python 3.11

slavisarad opened this issue · comments

When using fastapi-class with python 3.11 the following error ocurrs:

File "/usr/lib/python3.11/inspect.py", line 2721, in __init__ raise ValueError('{!r} is not a valid parameter name'.format(name)) ValueError: 'not' is not a valid parameter name

This issue regarding this topic was reported for fastapi itself.

Seems like pydantic >= v1.10.0a1 is needed, in order to solve that issue

Thank you @slavisarad for reporting! It's fixed now ⭐