databricks / run-notebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to Pass the Job_id as integer in Airflow 1.9.

rohit-kumar-koantek opened this issue · comments

Hi ,
I have built a custom operator where for airflow 1.9 where i am using request library and trying to trigger through POST method using API 2.1 available api calls. The same logic is working for 1.10 and higher versions but not working for 1.9. It throwing me a error: "Error rendering template: Type '<type 'int'>' used for parameter 'request_body[job_id]' is not supported for templating for airflow"
image