ellisms commented on code in PR #37886:
URL: https://github.com/apache/airflow/pull/37886#discussion_r1511840769


##########
airflow/providers/amazon/aws/hooks/s3.py:
##########
@@ -1390,6 +1379,12 @@ def download_file(
             Default: True.
         :return: the file name.
         """
+        self.log.info(
+            "This function shadows the 'download_file' method of S3 API, but 
it is not the same. If you "
+            "want to use the original method from S3 API, please call "
+            "'S3Hook.get_conn().download_file()'"
+        )
+

Review Comment:
   The suggestion is the same as the original?



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