This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 840707cedf75a65b297645e671f467148b704f10 Author: Aman Gupta <aman.iv0...@gmail.com> AuthorDate: Wed Nov 22 22:24:29 2023 +0530 Updated docstring: `check_key_async` is now in line with description of `_check_key_async` (#35799) --- airflow/providers/amazon/aws/hooks/s3.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/airflow/providers/amazon/aws/hooks/s3.py b/airflow/providers/amazon/aws/hooks/s3.py index ef54dc0099..ad25c5b5c5 100644 --- a/airflow/providers/amazon/aws/hooks/s3.py +++ b/airflow/providers/amazon/aws/hooks/s3.py @@ -518,7 +518,11 @@ class S3Hook(AwsBaseHook): wildcard_match: bool, ) -> bool: """ - Check for all keys in bucket and returns boolean value. + Get a list of files that a key matching a wildcard expression or get the head object. + + If wildcard_match is True get list of files that a key matching a wildcard + expression exists in a bucket asynchronously and return the boolean value. If wildcard_match + is False get the head object from the bucket and return the boolean value. :param client: aiobotocore client :param bucket: the name of the bucket