Skip to content

Commit 49f7173

Browse files
authored
Merge pull request #40 from prillerp/bugfix/switch-to-pydanticv2-#39
switch to pydantic v2
2 parents a1ec146 + 1f00947 commit 49f7173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arrowhead_client/dto.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
from abc import ABC
99
from datetime import datetime, timedelta
1010

11-
from pydantic import BaseModel
12-
from pydantic.json import timedelta_isoformat, isoformat
11+
from pydantic.v1 import BaseModel
12+
from pydantic.v1.json import timedelta_isoformat, isoformat
1313

1414
from arrowhead_client.service import ServiceInterface
1515

0 commit comments

Comments
 (0)