From fd0548bbeb2b4a71f91243bce96e05ae1f6a9a6a Mon Sep 17 00:00:00 2001 From: BuzzCutNorman Date: Fri, 3 Feb 2023 15:02:24 -0800 Subject: [PATCH] mypy fix remove_collation added str type hint to column_type_collation --- singer_sdk/connectors/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singer_sdk/connectors/sql.py b/singer_sdk/connectors/sql.py index 609b88652..d3ec81261 100644 --- a/singer_sdk/connectors/sql.py +++ b/singer_sdk/connectors/sql.py @@ -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