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 75657b7 commit fa5b05dCopy full SHA for fa5b05d
src/sqlacodegen/generators.py
@@ -1252,7 +1252,7 @@ def render_python_type(column_type: TypeEngine[Any]) -> str:
1252
_logger.warning(
1253
f"Unable to determine python type for {column_type}, falling back to typing.Any"
1254
)
1255
- self.add_literal_import("typing", "Any")
+ self.add_import(Any)
1256
python_type = Any
1257
1258
python_type_name = (
0 commit comments