airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-6536) Make "job_id" parameter of the DatabricksRunNowOperator optional
Date Sat, 11 Jan 2020 21:44:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013583#comment-17013583
] 

ASF subversion and git services commented on AIRFLOW-6536:
----------------------------------------------------------

Commit d654d69d7794a57c5c51685a8a96f1d7c38c2302 in airflow's branch refs/heads/master from
Mustafa Gök
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=d654d69 ]

[AIRFLOW-6536] Make job_id parameter optional (#7136)

It can be passed in the json parameter

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

Mime
View raw message