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.
1 parent 3ce918a commit 6c95e05Copy full SHA for 6c95e05
1 file changed
sqlmodel/main.py
@@ -89,11 +89,9 @@
89
| Mapping[int, Union["IncEx", bool]]
90
| Mapping[str, Union["IncEx", bool]]
91
)
92
-SaTypeOrInstance: TypeAlias = Union[
93
- TypeEngine[Any],
94
- type[TypeEngine[Any]],
95
- SchemaEventTarget,
96
-]
+SaTypeOrInstance: TypeAlias = (
+ TypeEngine[Any] | type[TypeEngine[Any]] | SchemaEventTarget
+)
97
OnDeleteType = Literal["CASCADE", "SET NULL", "RESTRICT"]
98
99
0 commit comments