We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80f7a09 + 506e5c1 commit a2303b3Copy full SHA for a2303b3
1 file changed
tests/test_field_sa_type.py
@@ -70,14 +70,17 @@ class Hero(SQLModel, table=True):
70
pk: int = Field(primary_key=True)
71
weapon: Type8_t = "sword"
72
73
+
74
def test_sa_type_typing_9() -> None:
75
Type9_t = t.TypeVar("Type9_t", str, bytes)
76
77
with pytest.raises(ValueError):
78
79
class Hero(SQLModel, table=True):
80
81
weapon: Type9_t = "sword"
82
83
84
def test_sa_type_typing_extensions_1() -> None:
85
Type1_te = str
86
@@ -148,6 +151,7 @@ def test_sa_type_typing_extensions_9() -> None:
148
151
Type9_te = te.TypeVar("Type9_te", str, bytes)
149
152
150
153
154
155
156
157
weapon: Type9_te = "sword"
0 commit comments