Closed Guibod closed 3 months ago
To fix this we need to apply pydantic 2 guide for custom types: https://docs.pydantic.dev/2.0/usage/types/custom/#as-a-method-on-a-custom-type
But before that we need to upgrade both Beanie and pydantic, with everything that is implied.
To fix this we need to apply pydantic 2 guide for custom types: https://docs.pydantic.dev/2.0/usage/types/custom/#as-a-method-on-a-custom-type
But before that we need to upgrade both Beanie and pydantic, with everything that is implied.