Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mkeller committed May 23, 2023
1 parent 12ef8f7 commit 0a59453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/connector/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _get_env(self) -> tuple[bool, str | _T | None]:
if env_name not in os.environ:
return False, None
env_var = os.environ.get(env_name, None)
loaded_var: _T | None | str = env_var
loaded_var: str | _T | None = env_var
if env_var and self.parse_str is not None:
loaded_var = self.parse_str(env_var)
if isinstance(loaded_var, (Table, tomlkit.TOMLDocument)):
Expand Down

0 comments on commit 0a59453

Please sign in to comment.