[
https://issues.apache.org/jira/browse/AIRFLOW-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013582#comment-17013582
]
ASF GitHub Bot commented on AIRFLOW-6536:
-----------------------------------------
potiuk commented on pull request #7136: [AIRFLOW-6536] Make job_id parameter
optional
URL: https://github.com/apache/airflow/pull/7136
----------------------------------------------------------------
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:
[email protected]
> Make "job_id" parameter of the DatabricksRunNowOperator optional
> ----------------------------------------------------------------
>
> Key: AIRFLOW-6536
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6536
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Affects Versions: 1.10.7
> Reporter: Mustafa Gök
> Assignee: Mustafa Gök
> Priority: Minor
>
> "job_id" parameter should be optional because it can be passed in json(dict)
> parameter.
> line 317 (example in docstring, but it gives error):
> {code:python}
> notebook_run = DatabricksRunNowOperator(task_id='notebook_run', json=json)
> {code}
> line 458:
> {code:python}
> if job_id is not None:
> self.json['job_id'] = job_id
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)