Skip to content

Commit fa5b05d

Browse files
Update Any import
Co-authored-by: Alex Grönholm <[email protected]>
1 parent 75657b7 commit fa5b05d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlacodegen/generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ def render_python_type(column_type: TypeEngine[Any]) -> str:
12521252
_logger.warning(
12531253
f"Unable to determine python type for {column_type}, falling back to typing.Any"
12541254
)
1255-
self.add_literal_import("typing", "Any")
1255+
self.add_import(Any)
12561256
python_type = Any
12571257

12581258
python_type_name = (

0 commit comments

Comments
 (0)