Skip to content

Commit

Permalink
updating linting
Browse files Browse the repository at this point in the history
  • Loading branch information
iireland-ii committed Nov 14, 2024
1 parent cd2658f commit adbfef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,7 @@ def _fetch_data(
if self.private_key_file is None:
connect_params["password"] = self.api_key.resolve_value()
# Create a new connection with every run
conn = self._snowflake_connector(
connect_params=connect_params
)
conn = self._snowflake_connector(connect_params=connect_params)
if conn is None:
return df
except (ForbiddenError, ProgrammingError) as e:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def test_to_dict_default(self, monkeypatch: MagicMock) -> None:
warehouse="test_warehouse",
login_timeout=30,
private_key_file=None,
private_key_file_pwd=None
private_key_file_pwd=None,
)

data = component.to_dict()
Expand All @@ -497,7 +497,7 @@ def test_to_dict_default(self, monkeypatch: MagicMock) -> None:
"warehouse": "test_warehouse",
"login_timeout": 30,
"private_key_file": None,
"private_key_file_pwd": None
"private_key_file_pwd": None,
},
}

Expand Down Expand Up @@ -534,7 +534,7 @@ def test_to_dict_with_parameters(self, monkeypatch: MagicMock) -> None:
"warehouse": "COMPUTE_WH",
"login_timeout": 30,
"private_key_file": None,
"private_key_file_pwd": None
"private_key_file_pwd": None,
},
}

Expand Down

0 comments on commit adbfef5

Please sign in to comment.