stats-dev commented on code in PR #2948:
URL: https://github.com/apache/iceberg-python/pull/2948#discussion_r2725968933
##########
pyiceberg/catalog/glue.py:
##########
@@ -329,7 +329,7 @@ def __init__(self, name: str, client:
Optional["GlueClient"] = None, **propertie
retry_mode_prop_value = get_first_property_value(properties,
GLUE_RETRY_MODE)
session = boto3.Session(
- profile_name=properties.get(GLUE_PROFILE_NAME),
+ profile_name=properties.get(GLUE_PROFILE_NAME,
properties.get(AWS_PROFILE_NAME)),
Review Comment:
Thanks!
I'll switch this to use `get_first_property_value` to keep the behavior
consistent with the rest of the codebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]