Skip to content

Commit

Permalink
fix accepted type
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aling committed Jul 9, 2024
1 parent b3e816b commit c509550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/connector/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _get_private_bytes_from_file(
"backoff_policy": (DEFAULT_BACKOFF_POLICY, Callable),
"passcode_in_password": (False, bool), # Snowflake MFA
"passcode": (None, (type(None), str)), # Snowflake MFA
"private_key": (None, (type(None), str, RSAPrivateKey)),
"private_key": (None, (type(None), bytes, RSAPrivateKey)),
"private_key_file": (None, (type(None), str)),
"private_key_file_pwd": (None, (type(None), str, bytes)),
"token": (None, (type(None), str)), # OAuth or JWT Token
Expand Down

0 comments on commit c509550

Please sign in to comment.