kevinjqliu commented on code in PR #1269: URL: https://github.com/apache/iceberg-python/pull/1269#discussion_r1823134378
########## pyiceberg/catalog/dynamodb.py: ########## @@ -102,18 +96,11 @@ def __init__(self, name: str, **properties: str): super().__init__(name, **properties) session = boto3.Session( - profile_name=get_first_property_value(properties, DYNAMODB_PROFILE_NAME, DEPRECATED_PROFILE_NAME), - region_name=get_first_property_value(properties, DYNAMODB_REGION, AWS_REGION, DEPRECATED_REGION), - botocore_session=properties.get(DEPRECATED_BOTOCORE_SESSION), - aws_access_key_id=get_first_property_value( - properties, DYNAMODB_ACCESS_KEY_ID, AWS_ACCESS_KEY_ID, DEPRECATED_ACCESS_KEY_ID - ), - aws_secret_access_key=get_first_property_value( - properties, DYNAMODB_SECRET_ACCESS_KEY, AWS_SECRET_ACCESS_KEY, DEPRECATED_SECRET_ACCESS_KEY - ), - aws_session_token=get_first_property_value( - properties, DYNAMODB_SESSION_TOKEN, AWS_SESSION_TOKEN, DEPRECATED_SESSION_TOKEN - ), + profile_name=get_first_property_value(properties, DYNAMODB_PROFILE_NAME), Review Comment: thanks! i checked all the other `get_first_property_value(` and fixed the issue -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org