Skip to content

Commit

Permalink
fix(snowflake): set con outside of _setup_session call (#8979)
Browse files Browse the repository at this point in the history
Fixes the failing Snowflake tests in CI.
  • Loading branch information
cpcloud authored Apr 16, 2024
1 parent b5f84f2 commit 3b1a6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/snowflake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def do_connect(self, create_object_udfs: bool = True, **kwargs: Any):
connect_args = kwargs.copy()
session_parameters = connect_args.pop("session_parameters", {})

self.con = sc.connect(**connect_args)
self._setup_session(
con=sc.connect(**connect_args),
session_parameters=session_parameters,
create_object_udfs=create_object_udfs,
)
Expand Down

0 comments on commit 3b1a6ef

Please sign in to comment.