Skip to content

Can't pass conf to dag #4

@Dutisto

Description

@Dutisto

Hi,
I'm using your plugin and I got a hard time passing conf to my dag. My dag runs without problems in CLI airflow trigger_dag test --conf '{"workingDir":"/tmp/aZEf"}' . However, using your plugin, I can't pass my parameter "workingDir", I end up having None instead of /tmp/aZEf. I'm using the last version of your plugin and Airflow v1.9.0 with CeleryExecutor.
My post request looks like this : curl -X POST \ http://xxx.xxx.xxx.xxx:xxxx/api/v1/dag_runs \ -H 'authorization: secret \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \ -d '{"dag_id":"test","conf":{"workingDir":"/tmp/aZEf"}}'

Any help would be appreciated =]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions