[ 
https://issues.apache.org/jira/browse/AIRFLOW-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kengo Seki reassigned AIRFLOW-2292:
-----------------------------------

    Assignee: Kengo Seki

> Fix docstring for S3Hook.get_wildcard_key
> -----------------------------------------
>
>                 Key: AIRFLOW-2292
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2292
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: docs, Documentation
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>
> S3Hook.get_wildcard_key's docstring says as follows, but the right name is 
> {{wildcard_key}}. It's doubly misleading since the pattern must be specified 
> as glob, not regex.
> {code:python}
>     def get_wildcard_key(self, wildcard_key, bucket_name=None, delimiter=''):
>         """
>         Returns a boto3.s3.Object object matching the regular expression
>         :param regex_key: the path to the key
>         :type regex_key: str
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to