On the page with dag runs, conf values should be double quoted, not single quoted
See original GitHub issue
I often want to rerun dag with the same or slightly tweaked conf parameters. So I copy the conf JSON from this page and trigger the dag with it. Except… it’s not actually JSON, because it uses single quotes instead of double quotes. This results in “invalid JSON configuration” error.
Is there some reason for using single quotes here? Can it be changed to double quotes?
UPD: Airflow version I use is
1.10.12
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
How to force Airflow not to put single quotes around rendered ...
Try using params instead of parameters , should work because sql is declared as a templated field in the PostgresOperator .
Read more >BashOperator — Airflow Documentation
This applies mostly to using “dag_run” conf, as that can be submitted via users in ... Instead, you should pass this via the...
Read more >“Double Quotes” vs 'Single Quotes' vs `Backticks` in JavaScript
The same theory applies to double quotes, and you have to use a backslash to escape any double quotes inside double quotes.
Read more >How to use single and double quotes in PostgreSQL - Prisma
Yes is in single quotes because it's a value that will be printed within the context of a column value. Can I manage...
Read more >Format scripts and job logs - GitLab Docs
Sometimes, script commands must be wrapped in single or double quotes. ... default array of commands that should run before the script commands...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@alxdembo please make all PRs target master (which is where 2.0 is about to be released from)
@alxdembo it’s
1.10.12