paantya edited a comment on issue #16430:
URL: https://github.com/apache/airflow/issues/16430#issuecomment-862233347
Is it possible somehow to save the values passed to params to disk?
I can imagine that we can prepare a dictionary for params using a function
(not tested yet).
```
def get_params():
import yaml
with open("params.yaml", 'r') as stream:
try:
return yaml.safe_load(stream)
except yaml.YAMLError as exc:
print(exc)
with DAG(
'tutorial',
default_args=default_args,
schedule_interval=timedelta(days=1),
start_date=days_ago(2),
params=get_params(),
) as dag:
```
--
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]