feluelle commented on a change in pull request #7635: [AIRFLOW-5062] Allow ACL
Header in S3Hook
URL: https://github.com/apache/airflow/pull/7635#discussion_r390240401
##########
File path: airflow/providers/amazon/aws/hooks/s3.py
##########
@@ -687,3 +701,17 @@ def download_file(
s3_obj.download_fileobj(local_tmp_file)
return local_tmp_file.name
+
+ def get_object_permission(self,
+ bucket,
+ key):
+ """
+ :param bucket: Name of the bucker in which the object is
+ :type bucket: str
+ :param key: The key to get the object grantee permission.
+ :type key: str
+ """
Review comment:
Please add `:returns:` and `:rtype:` here. Thanks :)
----------------------------------------------------------------
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