You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by xd...@apache.org on 2020/08/26 17:58:20 UTC

[airflow] branch master updated: Improve Docstring for AWS Athena Hook/Operator (#10580)

This is an automated email from the ASF dual-hosted git repository.

xddeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 8349061  Improve Docstring for AWS Athena Hook/Operator (#10580)
8349061 is described below

commit 8349061f9cb01a92c87edd349cc844c4053851e8
Author: Theodor <32...@users.noreply.github.com>
AuthorDate: Wed Aug 26 18:57:32 2020 +0100

    Improve Docstring for AWS Athena Hook/Operator (#10580)
---
 airflow/providers/amazon/aws/hooks/athena.py     | 2 +-
 airflow/providers/amazon/aws/operators/athena.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/providers/amazon/aws/hooks/athena.py b/airflow/providers/amazon/aws/hooks/athena.py
index a7fb947..3120108 100644
--- a/airflow/providers/amazon/aws/hooks/athena.py
+++ b/airflow/providers/amazon/aws/hooks/athena.py
@@ -37,7 +37,7 @@ class AWSAthenaHook(AwsBaseHook):
     .. seealso::
         :class:`~airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
 
-    :param sleep_time: Time to wait between two consecutive call to check query status on athena
+    :param sleep_time: Time (in seconds) to wait between two consecutive calls to check query status on Athena
     :type sleep_time: int
     """
 
diff --git a/airflow/providers/amazon/aws/operators/athena.py b/airflow/providers/amazon/aws/operators/athena.py
index 2039fe3..453dd3b 100644
--- a/airflow/providers/amazon/aws/operators/athena.py
+++ b/airflow/providers/amazon/aws/operators/athena.py
@@ -46,7 +46,7 @@ class AWSAthenaOperator(BaseOperator):
     :type query_execution_context: dict
     :param result_configuration: Dict with path to store results in and config related to encryption
     :type result_configuration: dict
-    :param sleep_time: Time to wait between two consecutive call to check query status on athena
+    :param sleep_time: Time (in seconds) to wait between two consecutive calls to check query status on Athena
     :type sleep_time: int
     :param max_tries: Number of times to poll for query state before function exits
     :type max_tries: int