Skip to content

Commit 8e149c8

Browse files
committed
Test patch for literal
1 parent 3c024e2 commit 8e149c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlmodel/_compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Dict,
1111
ForwardRef,
1212
Generator,
13+
Literal,
1314
Mapping,
1415
Optional,
1516
Set,
@@ -22,6 +23,7 @@
2223
from pydantic import BaseModel
2324
from pydantic.fields import FieldInfo
2425
from typing_extensions import Annotated, get_args, get_origin
26+
from .sql.sqltypes import AutoString
2527

2628
# Reassign variable to make it reexported for mypy
2729
PYDANTIC_VERSION = P_VERSION

0 commit comments

Comments
 (0)