airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2091] Fix incorrect docstring parameter in BigQuery Hook
Date Fri, 09 Feb 2018 12:23:37 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 4c7ae420a -> 0a71370d0


[AIRFLOW-2091] Fix incorrect docstring parameter in BigQuery Hook

- Instead of `seq_of_parameters`, the docstring
contains `parameters`. Fixed this

Closes #3025 from kaxil/fix-parameter


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/0a71370d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/0a71370d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/0a71370d

Branch: refs/heads/master
Commit: 0a71370d0541da48eb1d4ffc5aa2f5d3a4be1e59
Parents: 4c7ae42
Author: Kaxil Naik <kaxilnaik@gmail.com>
Authored: Fri Feb 9 13:23:31 2018 +0100
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Fri Feb 9 13:23:31 2018 +0100

----------------------------------------------------------------------
 airflow/contrib/hooks/bigquery_hook.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/0a71370d/airflow/contrib/hooks/bigquery_hook.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/hooks/bigquery_hook.py b/airflow/contrib/hooks/bigquery_hook.py
index 653cb1b..dca4d33 100644
--- a/airflow/contrib/hooks/bigquery_hook.py
+++ b/airflow/contrib/hooks/bigquery_hook.py
@@ -1256,9 +1256,9 @@ class BigQueryCursor(BigQueryBaseCursor):
 
         :param operation: The query to execute.
         :type operation: string
-        :param parameters: List of dictionary parameters to substitute into the
+        :param seq_of_parameters: List of dictionary parameters to substitute into the
             query.
-        :type parameters: list
+        :type seq_of_parameters: list
         """
         for parameters in seq_of_parameters:
             self.execute(operation, parameters)


Mime
View raw message