Skip to content

Commit

Permalink
Add authenticator field to conn_args (#6983)
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Tai <dennis.tai@ehealth.com>
  • Loading branch information
swotai and Dennis Tai committed Apr 11, 2022
1 parent bdb1192 commit 7ecd4b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ def define_snowflake_config():
is_required=False,
)

authenticator = Field(
StringSource,
description="Optional parameter to specify the authentication mechanism to use.",
is_required=False,
)

return {
"account": account,
"user": user,
Expand All @@ -153,4 +159,5 @@ def define_snowflake_config():
"connector": connector,
"cache_column_metadata": cache_column_metadata,
"numpy": numpy,
"authenticator": authenticator,
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def __init__(self, context): # pylint: disable=too-many-locals
"validate_default_parameters",
"paramstyle",
"timezone",
"authenticator",
)
if context.resource_config.get(k) is not None
}
Expand Down

0 comments on commit 7ecd4b3

Please sign in to comment.