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

PydanticV2 support #249

Open
anton-petrov opened this issue Jul 31, 2023 · 1 comment
Open

PydanticV2 support #249

anton-petrov opened this issue Jul 31, 2023 · 1 comment

Comments

@anton-petrov
Copy link

Right now fastapi-cache is incompatible with modern pydanticV2 and fastapi respectively.

For example:

AttributeError: module 'pydantic.fields' has no attribute 'ModelField'

it would be nice to adapt to the current versions of pydantic and fastapi

@JoseMoreville
Copy link

It is worth to check how to add support, however the project releases look really outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants