You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/10/12 01:39:09 UTC
[GitHub] XD-DENG commented on a change in pull request #3981: [AIRFLOW-3133]
Implement xcom_push flag for contrib's operators
XD-DENG commented on a change in pull request #3981: [AIRFLOW-3133] Implement xcom_push flag for contrib's operators
URL: https://github.com/apache/incubator-airflow/pull/3981#discussion_r223653754
##########
File path: airflow/contrib/operators/bigquery_get_data.py
##########
@@ -78,6 +80,7 @@ def __init__(self,
selected_fields=None,
bigquery_conn_id='bigquery_default',
delegate_to=None,
+ do_xcom_push=True,
Review comment:
Hi @itscaro , two comments:
1. It would be better to have consistent argument naming. In other core operators, like `BashOperator`, this argument is called `xcom_push` rather than `do_xcom_push`.
2. I believe the default value should be `False` rather than `True`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services