eladkal commented on code in PR #24599:
URL: https://github.com/apache/airflow/pull/24599#discussion_r914735943


##########
docs/apache-airflow-providers-databricks/operators/submit_run.rst:
##########
@@ -52,6 +52,8 @@ one named parameter for each top level parameter in the 
``runs/submit`` endpoint
 
 All other parameters are optional, and described in the documentation of the 
``DatabricksSubmitRunOperator`` class.
 
+Another way to do is use the param tasks to pass array of objects to 
instantiate this operator. Here the value of tasks param that is used to invoke 
``api/2.1/jobs/runs/submit`` endpoint is passed through the ``tasks`` param in 
``DatabricksSubmitRunOperator``. Instead of invoking single task, you can pass 
array of task and submit a one-time run.
+
 

Review Comment:
   In my opinion there is no need to duplicate information the operator can 
reference the docs (we do that in other operators as well)



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to