fastapi-cache
fastapi-cache copied to clipboard
PydanticV2 support
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