This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new bcb5eebd62 Updated docstring: `check_key_async` is now in line with
description of `_check_key_async` (#35799)
bcb5eebd62 is described below
commit bcb5eebd6247d4eec15bf5cce98ccedaad629661
Author: Aman Gupta <[email protected]>
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