question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On the page with dag runs, conf values should be double quoted, not single quoted

See original GitHub issue

image 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:closed
  • Created 3 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ashbcommented, Dec 13, 2020

@alxdembo please make all PRs target master (which is where 2.0 is about to be released from)

1reaction
Hoholcommented, Dec 13, 2020

@alxdembo it’s 1.10.12

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found