fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

PydanticV2 support

Open anton-petrov opened this issue 10 months ago • 1 comments

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

anton-petrov avatar Jul 31 '23 13:07 anton-petrov