Taragolis commented on code in PR #35108:
URL: https://github.com/apache/airflow/pull/35108#discussion_r1368381323


##########
airflow/providers/amazon/aws/hooks/glacier.py:
##########
@@ -35,9 +35,9 @@ class GlacierHook(AwsBaseHook):
         - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
     """
 
-    def __init__(self, aws_conn_id: str = "aws_default") -> None:
-        super().__init__(client_type="glacier")
-        self.aws_conn_id = aws_conn_id
+    def __init__(self, *args, **kwargs) -> None:
+        kwargs.update({"client_type": "glacier", "resource_type": None})
+        super().__init__(*args, **kwargs)

Review Comment:
   Accidentally found that `GlacierHook` only allows `aws_conn_id` and ignore 
other AwsBaseHook's parameters



-- 
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]

Reply via email to