You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2017/11/21 17:24:00 UTC
[jira] [Created] (AIRFLOW-1839) S3Hook.list_keys throws exception
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)