Skip to content

Commit

Permalink
mypy fix remove_collation added str type hint to column_type_collation
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzCutNorman committed Feb 3, 2023
1 parent 08eff69 commit fd0548b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/connectors/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ def remove_collation(
The removed collation as a string.
"""
if hasattr(column_type, "collation") and column_type.collation:
column_type_collation = column_type.collation
column_type_collation: str = column_type.collation
setattr(column_type, "collation", None)
return column_type_collation
return None
Expand Down

0 comments on commit fd0548b

Please sign in to comment.