mik-laj commented on issue #13653:
URL: https://github.com/apache/airflow/issues/13653#issuecomment-763555707
DAG can be parameterized with `conf` parameters. To access configuration in
your DAG use `{{ dag_run.conf }}`. Additionally, you can define a default
value for this parameter with `DAG.params`
https://github.com/apache/airflow/blob/b4c8a0406e88f330b38e8571b5b3ea399ff6fe7d/airflow/www/views.py#L1420
> What information is saved when a parameter is defined? Its name, its
type, its description? Anything else? At the very least, I would think we would
need these 3 pieces of information per parameter.
This information is not saved anywhere because Airflow is flexible and you
could pass on any object that didn't have to be strictly structured.
> As I can understand, it's just a mapping, nothing more. I
This is mapping, where the key must be string type and the value can be any
type supported by JSON [int/array/object/string/bool/float]
----------------------------------------------------------------
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]