From 0a59453917c1b74aa59f12a380deebcf9bded18b Mon Sep 17 00:00:00 2001 From: Mark Keller Date: Tue, 23 May 2023 14:20:04 -0700 Subject: [PATCH] consistency --- src/snowflake/connector/config_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/connector/config_manager.py b/src/snowflake/connector/config_manager.py index c9e2129b0..359e873f2 100644 --- a/src/snowflake/connector/config_manager.py +++ b/src/snowflake/connector/config_manager.py @@ -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)):