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

Add support for caching Pydantic models

Open HakierGrzonzo opened this issue 3 years ago • 0 comments

Hi!

I encountered an error while trying to use this library for a university research project while caching a list of pydantic models. So I added functionality to the library to automatically convert pydantic objects into lean json.

I made a test for my fix.

HakierGrzonzo avatar Mar 16 '22 21:03 HakierGrzonzo