You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/04/08 18:15:22 UTC
incubator-airflow git commit: [AIRFLOW-2292] Fix docstring for
S3Hook.get_wildcard_key
Repository: incubator-airflow
Updated Branches:
refs/heads/master 57f79ba4c -> a5943a142
[AIRFLOW-2292] Fix docstring for S3Hook.get_wildcard_key
Fix a misleading description and wrong parameter
names
in S3Hook.get_wildcard_key's docstring.
Closes #3196 from sekikn/AIRFLOW-2292
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/a5943a14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/a5943a14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/a5943a14
Branch: refs/heads/master
Commit: a5943a14256a2f9dbd38e539ebc524d19dfef214
Parents: 57f79ba
Author: Kengo Seki <se...@apache.org>
Authored: Sun Apr 8 20:15:15 2018 +0200
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Sun Apr 8 20:15:15 2018 +0200
----------------------------------------------------------------------
airflow/hooks/S3_hook.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a5943a14/airflow/hooks/S3_hook.py
----------------------------------------------------------------------
diff --git a/airflow/hooks/S3_hook.py b/airflow/hooks/S3_hook.py
index 5315b13..2431001 100644
--- a/airflow/hooks/S3_hook.py
+++ b/airflow/hooks/S3_hook.py
@@ -183,10 +183,10 @@ class S3Hook(AwsHook):
def get_wildcard_key(self, wildcard_key, bucket_name=None, delimiter=''):
"""
- Returns a boto3.s3.Object object matching the regular expression
+ Returns a boto3.s3.Object object matching the wildcard expression
- :param regex_key: the path to the key
- :type regex_key: str
+ :param wildcard_key: the path to the key
+ :type wildcard_key: str
:param bucket_name: the name of the bucket
:type bucket_name: str
"""