Skip to content

Commit dec7bc1

Browse files
committed
chore: correct fix for V1
1 parent 5d43406 commit dec7bc1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

geolib/models/base_model.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414

1515
import requests
1616
from pydantic import DirectoryPath, FilePath, HttpUrl, conlist
17-
if IS_PYDANTIC_V2:
18-
from pydantic import SerializeAsAny
19-
17+
2018
from geolib._compat import IS_PYDANTIC_V2
2119

2220
if IS_PYDANTIC_V2:
21+
from pydantic import SerializeAsAny
2322
from pydantic import ValidationError
2423
else:
2524
from pydantic.error_wrappers import ValidationError

0 commit comments

Comments
 (0)