diff --git a/target_snowflake/connector.py b/target_snowflake/connector.py index 5e28b90..09c7b8b 100644 --- a/target_snowflake/connector.py +++ b/target_snowflake/connector.py @@ -217,8 +217,8 @@ def create_engine(self) -> Engine: connect_args = { "session_parameters": { "QUOTED_IDENTIFIERS_IGNORE_CASE": "TRUE", - "client_session_keep_alive": "TRUE", # See https://github.com/snowflakedb/snowflake-connector-python/issues/218 }, + "client_session_keep_alive": True, # See https://github.com/snowflakedb/snowflake-connector-python/issues/218 } if self.auth_method == SnowflakeAuthMethod.KEY_PAIR: connect_args["private_key"] = self.get_private_key()