Skip to content

Commit

Permalink
Fix keepalive args
Browse files Browse the repository at this point in the history
  • Loading branch information
visch committed Oct 10, 2024
1 parent 57a73ac commit 40c7909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_snowflake/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 40c7909

Please sign in to comment.