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 df6d70a commit 59a3d3fCopy full SHA for 59a3d3f
sqlmodel/main.py
@@ -738,7 +738,7 @@ def get_sqlalchemy_type(field: Any) -> Any:
738
raise ValueError(f"{type_} has no matching SQLAlchemy type")
739
740
741
-def _create_union(args: tuple[Any, ...]) -> Any | Any:
+def _create_union(args: tuple[Any, ...]) -> Any:
742
if len(args) == 1:
743
return args[0]
744
return args[0] | _create_union(args[1:])
0 commit comments