Skip to content

Commit

Permalink
Updated docstring: check_key_async is now in line with description …
Browse files Browse the repository at this point in the history
…of `_check_key_async` (#35799)
  • Loading branch information
bolleyboll committed Nov 22, 2023
1 parent 5588a95 commit bcb5eeb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airflow/providers/amazon/aws/hooks/s3.py
Expand Up @@ -518,7 +518,11 @@ async def check_key_async(
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
Expand Down

0 comments on commit bcb5eeb

Please sign in to comment.