Skip to content

Commit 702ac38

Browse files
authored
Update _compat.py
1 parent 2cc8cd0 commit 702ac38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmodel/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
PYDANTIC_MINOR_VERSION = tuple(int(i) for i in P_VERSION.split(".")[:2])
3030
IS_PYDANTIC_V2 = PYDANTIC_MINOR_VERSION[0] == 2
3131

32+
3233
if TYPE_CHECKING:
3334
from .main import RelationshipInfo, SQLModel
3435

@@ -72,7 +73,6 @@ def partial_init() -> Generator[None, None, None]:
7273
finish_init.reset(token)
7374

7475

75-
7676
if IS_PYDANTIC_V2:
7777
from annotated_types import MaxLen
7878
from pydantic import ConfigDict as BaseConfig

0 commit comments

Comments
 (0)