arrowhead-f / client-library-python

Arrowhead Client Library in Python
Eclipse Public License 2.0
5 stars 10 forks source link

switch to pydanticv2 #39

Closed prillerp closed 1 month ago

prillerp commented 2 months ago

I had some compatibility issues with the currently used pydantic (v1). docs recommend to switch to pydantic (v2). Least effort adaptations in code would be to adapt imports to pydantic.v1, recommended in arrowheadclient/dto.py : from pydantic.v1 import BaseModel from pydantic.v1.json import timedelta_isoformat, isoformat

prillerp commented 1 month ago

fixed with [#40]