From a7b8699836cf92e7e6ec36cc5c96c6ccc3868950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Mon, 16 Sep 2024 11:59:56 -0600 Subject: [PATCH] chore: Update `SnowflakeSink` type annotations --- target_snowflake/sinks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target_snowflake/sinks.py b/target_snowflake/sinks.py index e6b68f3..4c2313b 100644 --- a/target_snowflake/sinks.py +++ b/target_snowflake/sinks.py @@ -21,7 +21,7 @@ from target_snowflake.connector import SnowflakeConnector if t.TYPE_CHECKING: - from singer_sdk import PluginBase, SQLConnector + from singer_sdk import PluginBase DEFAULT_BATCH_CONFIG = { "encoding": {"format": "jsonl", "compression": "gzip"}, @@ -40,7 +40,7 @@ def __init__( stream_name: str, schema: dict, key_properties: list[str] | None, - connector: SQLConnector | None = None, + connector: SnowflakeConnector | None = None, ) -> None: """Initialize Snowflake Sink.""" self.target = target