[ 
https://issues.apache.org/jira/browse/AIRFLOW-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jarek Potiuk resolved AIRFLOW-6536.
-----------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> 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
>             Fix For: 2.0.0
>
>
> "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)

Reply via email to