We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pydantic
That'd allow putting a model instance directly into a cache and get it stored as JSON.
Something like class PydanticJsonSerializer(Serializer[BaseModelT, bytes]), and the scheme like pydantic-json://.
class PydanticJsonSerializer(Serializer[BaseModelT, bytes])
pydantic-json://
Use:
Perhaps, also forward some BaseModel.json parameters to the serializer parameters.
BaseModel.json
The text was updated successfully, but these errors were encountered:
PydanticJsonSerializer(Serializer[BaseModelT, bytes])
No branches or pull requests
That'd allow putting a model instance directly into a cache and get it stored as JSON.
Something like
class PydanticJsonSerializer(Serializer[BaseModelT, bytes])
, and the scheme likepydantic-json://
.Use:
Perhaps, also forward some
BaseModel.json
parameters to the serializer parameters.The text was updated successfully, but these errors were encountered: