Replies: 1 comment 6 replies
-
|
You can only pass it via https://airflow.apache.org/docs/apache-airflow/stable/dag-run.html?highlight=dag_run
You have to add |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to trigger my dag with config and in there i'm passing

{"estado":"ES"}what a need to do is to take this value and save it in a python variable to use inside a python function, how i do this ?. I've seen some tutorials saying that the command is{{ dag_run.conf['estado'] }}but it only works when executing with a bash operator, also i tried to execute python subprocess but it didn't work.Below is the image of my trigger dag w/ config in the airflow UI
Below is some of the ways that i tried to grab it
Beta Was this translation helpful? Give feedback.
All reactions