vemikhaylov edited a comment on issue #13653:
URL: https://github.com/apache/airflow/issues/13653#issuecomment-763532896


   > When a DAG is defined, arbitrary parameters can be set. We then want to 
discover those parameters by asking Airflow for the DAG details. We then want 
to execute a dag passing in values for these parameters to drive the behaviour 
of the DAG. Are we going to be able to achieve this?
   
   Am I right that you mean by running a DAG the `airflow dags trigger` command 
execution? I really see only the `--conf` argument for it which is available 
under `dag_run.conf` in templates, but it's structure isn't specified anyhow in 
DAG definition, so cannot be got preliminary.
   
   It seems to me that the scenario may require adding more fair DAG 
parameterization ability, which is relatively notable design change. Maybe 
something like the JSON Schema could be specified to check dictionary passed to 
`--conf`.
   
   @mik-laj Am I not mistaken? What do you think? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to