Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Snowflake integration #1064

Merged
merged 14 commits into from
Sep 16, 2024
Prev Previous commit
Next Next commit
lint file
  • Loading branch information
medsriha committed Sep 8, 2024
commit fd7c6431397eb8625dcfc9dfd35faee0db74f96a
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def to_dict(self) -> Dict[str, Any]:
:returns:
Dictionary with serialized data.
"""
return default_to_dict( # type: ignore
return default_to_dict(
self,
user=self.user,
account=self.account,
Expand All @@ -119,7 +119,7 @@ def from_dict(cls, data: Dict[str, Any]) -> "SnowflakeRetriever":
"""
init_params = data.get("init_parameters", {})
deserialize_secrets_inplace(init_params, ["api_key"])
return default_from_dict(cls, data) # type: ignore
return default_from_dict(cls, data)

@staticmethod
def _snowflake_connector(connect_params: Dict[str, Any]) -> Union[SnowflakeConnection, None]:
Expand Down