Bowrna commented on code in PR #24599: URL: https://github.com/apache/airflow/pull/24599#discussion_r912316770
########## 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: @eladkal @josh-fell This howto documentation already contains information about instantiating the operator. It's additionally present in docstring with example too. Could you tell me if we can move the example part from docstring and retain this information only in howto guide? -- 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]
