Kengo Seki created AIRFLOW-2292:
-----------------------------------

             Summary: 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


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