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 2019/04/22 08:10:50 UTC

[GitHub] [airflow] ryanyuan commented on a change in pull request #5133: [AIRFLOW-4356] Add numWorkers and additionalUserLabels to DataFlowHook

ryanyuan commented on a change in pull request #5133: [AIRFLOW-4356] Add numWorkers and additionalUserLabels to DataFlowHook
URL: https://github.com/apache/airflow/pull/5133#discussion_r277233667
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_dataflow_hook.py
 ##########
 @@ -272,8 +272,9 @@ def _start_template_dataflow(self, name, variables, parameters,
         # Builds RuntimeEnvironment from variables dictionary
         # https://cloud.google.com/dataflow/docs/reference/rest/v1b3/RuntimeEnvironment
         environment = {}
-        for key in ['maxWorkers', 'zone', 'serviceAccountEmail', 'tempLocation',
-                    'bypassTempDirValidation', 'machineType', 'network', 'subnetwork']:
+        for key in ['numWorkers', 'maxWorkers', 'zone', 'serviceAccountEmail',
 
 Review comment:
   @potiuk You're right. I missed that one.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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