airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash Berlin-Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1839) S3Hook.list_keys throws exception
Date Tue, 21 Nov 2017 17:24:00 GMT
Ash Berlin-Taylor created AIRFLOW-1839:
------------------------------------------

             Summary: S3Hook.list_keys throws exception
                 Key: AIRFLOW-1839
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1839
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Ash Berlin-Taylor


{noformat}
      File "/usr/local/lib/python3.5/site-packages/airflow/hooks/S3_hook.py", line 104, in
list_keys
        return [k.Key for k in response['Contents']] if response.get('Contents') else None
      File "/usr/local/lib/python3.5/site-packages/airflow/hooks/S3_hook.py", line 104, in
<listcomp>
        return [k.Key for k in response['Contents']] if response.get('Contents') else None
    AttributeError: 'dict' object has no attribute 'Key'
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message