At the moment this package works even when using pydantic v2, but produces a couple of deprecation warnings (primarily regarding the use of @validator-decorator).
It would be great to either
use the pydantic v2 interface that provides the v1 API (e.g. from pydantic.v1 import BaseModel)
completely migrate to pydantic v2 and bump the package version
I would offer to take this on, which approach is preferred?
At the moment this package works even when using pydantic v2, but produces a couple of deprecation warnings (primarily regarding the use of
@validator
-decorator).It would be great to either
from pydantic.v1 import BaseModel
)I would offer to take this on, which approach is preferred?