Skip to content
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

Newer version of pydantic needed for python 3.11 #57

Closed
slavisarad opened this issue Jan 5, 2023 · 1 comment · Fixed by #58
Closed

Newer version of pydantic needed for python 3.11 #57

slavisarad opened this issue Jan 5, 2023 · 1 comment · Fixed by #58
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@slavisarad
Copy link

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

@yezz123 yezz123 added bug Something isn't working enhancement New feature or request labels Jan 8, 2023
@yezz123 yezz123 self-assigned this Jan 8, 2023
@yezz123 yezz123 linked a pull request Jan 8, 2023 that will close this issue
@yezz123
Copy link
Owner

yezz123 commented Jan 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants