Mustafa Gök created AIRFLOW-6536:
------------------------------------
Summary: 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
"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)