feluelle commented on a change in pull request #6574: [AIRFLOW-5924] 
Automatically unify bucket name and key in S3Hook
URL: https://github.com/apache/airflow/pull/6574#discussion_r362949859
 
 

 ##########
 File path: airflow/providers/amazon/aws/hooks/s3.py
 ##########
 @@ -242,6 +267,7 @@ def list_keys(self, bucket_name=None, prefix='', 
delimiter='',
         return None
 
     @provide_bucket_name
+    @unify_bucket_name_and_key
 
 Review comment:
   yes. If you provide the bucket_name first from the connection, in case there 
is one, it won't extract it from the key.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to