Closed pvilas closed 5 days ago
If you pin your pydantic version, this will be resolved.
Do you plan integrate pydantic v2 ?
just @converts(pydantic_extra_types.color.Color) need
Do you plan integrate pydantic v2 ?
I have no plan yet but PR is welcome
solve in #594
Describe the bug
Using pydantic V2
import starlette_admin.contrib.odmantic.Admin
results in an import error because pydantic.color is moved to pydantic_extra_types.color.See the migration guide to V2.
To Reproduce
raises this error
Environment (please complete the following information):
Additional context pydantic version: 2.5.3