Skip to content

Commit 2de5f9b

Browse files
add some debug
1 parent a7bd694 commit 2de5f9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/snowflake/connector/aio/_wif_util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
extract_iss_and_sub_without_signature_verification,
2222
get_aws_sts_hostname,
2323
)
24-
from ._session_manager import SessionManager, SessionManagerFactory
24+
from ._session_manager import SessionManager
2525

2626
logger = logging.getLogger(__name__)
2727

@@ -42,6 +42,8 @@ async def get_aws_region() -> str:
4242
msg="No AWS region was found. Ensure the application is running on AWS.",
4343
errno=ER_WIF_CREDENTIALS_NOT_FOUND,
4444
)
45+
print(f"DEBUG AWS region: {region}")
46+
print(f"DEBUG AWS region type: {type(region)}")
4547
return region
4648

4749

0 commit comments

Comments
 (0)