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/08/21 15:38:23 UTC

[GitHub] [airflow] nuclearpinguin commented on a change in pull request #5877: [AIRFLOW-5275] Add support for template parameters in DataprocWorkflowTemplateInstantiateOperator

nuclearpinguin commented on a change in pull request #5877: [AIRFLOW-5275] Add support for template parameters in DataprocWorkflowTemplateInstantiateOperator
URL: https://github.com/apache/airflow/pull/5877#discussion_r316254661
 
 

 ##########
 File path: airflow/contrib/operators/dataproc_operator.py
 ##########
 @@ -1099,6 +1099,12 @@ class DataprocWorkflowTemplateInstantiateOperator(DataprocOperationBaseOperator)
         For this to work, the service account making the request must have domain-wide
         delegation enabled.
     :type delegate_to: str
+    :param parameters: a map of parameters for Dataproc Template in key-value format: 
+        map (key: string, value: string)
+        Example: { "date_from": "2019-08-01", "date_to": "2019-08-02"}.
+        Values may not exceed 100 characters. Please refer to:
+        https://cloud.google.com/dataproc/docs/concepts/workflows/workflow-parameters
+    :type parameters: map   
 
 Review comment:
   ```suggestion
       :type parameters: Dict[str, str]  
   ```

----------------------------------------------------------------
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