You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/11 22:35:06 UTC
[airflow] 25/32: Fix docstrings in BigQueryGetDataOperator (#10042)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 06b06d77e17ec29d74c59f0dae8da33698e286bb
Author: Jinhui Zhang <me...@old-panda.com>
AuthorDate: Wed Jul 29 05:42:41 2020 -0700
Fix docstrings in BigQueryGetDataOperator (#10042)
(cherry picked from commit 59cbff0874dd5318cda4b9ce7b7eeb1aad1dad4d)
---
airflow/contrib/operators/bigquery_get_data.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/contrib/operators/bigquery_get_data.py b/airflow/contrib/operators/bigquery_get_data.py
index f5e6e50..e16804b 100644
--- a/airflow/contrib/operators/bigquery_get_data.py
+++ b/airflow/contrib/operators/bigquery_get_data.py
@@ -56,7 +56,7 @@ class BigQueryGetDataOperator(BaseOperator):
:type table_id: str
:param max_results: The maximum number of records (rows) to be fetched
from the table. (templated)
- :type max_results: str
+ :type max_results: int
:param selected_fields: List of fields to return (comma-separated). If
unspecified, all fields are returned.
:type selected_fields: str
@@ -74,7 +74,7 @@ class BigQueryGetDataOperator(BaseOperator):
def __init__(self,
dataset_id,
table_id,
- max_results='100',
+ max_results=100,
selected_fields=None,
bigquery_conn_id='bigquery_default',
delegate_to=None,