You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/29 15:48:28 UTC

[GitHub] [airflow] mik-laj commented on issue #16148: Downloading files from S3 broken in 2.1.0

mik-laj commented on issue #16148:
URL: https://github.com/apache/airflow/issues/16148#issuecomment-850854349


   > ````
   >         s3_hook.get_resource_type("s3").Bucket(bucket).Object(key).download_file(f.name)
   > ````
   
   These are not Airflow methods, but you are using the AWS library.  My impression is that you forgot to flush the data to disk (`f.flush()`),  so you can't read it.


-- 
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:
users@infra.apache.org