You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/28 08:08:40 UTC
[GitHub] [airflow] JavierLopezT opened a new issue, #25357: Default JSON for dag_run.conf in the UI
JavierLopezT opened a new issue, #25357:
URL: https://github.com/apache/airflow/issues/25357
### Description
It would be nice to be able to define a default JSON that already appears written in the UI. So for instance, you would define in the code something like:
with DAG(blabla):
operators
dag.default_run_conf = '{"date": "2020/01/01", "module": "ff", "serial_number", "123"}'
And in the UI, once you click on Trigger DAG with configuration, this would be there automatically:
![image](https://user-images.githubusercontent.com/11339132/181455142-9ec10c9e-60d9-4d61-aedf-63b29d43c29a.png)
### Use case/motivation
Saving time. Also, for non-techincal people that trigger DAGs, is more friendly just to fill values than to write a JSON from scratch
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #25357: Default JSON for dag_run.conf in the UI
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25357: Default JSON for dag_run.conf in the UI
URL: https://github.com/apache/airflow/issues/25357
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal commented on issue #25357: Default JSON for dag_run.conf in the UI
Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #25357:
URL: https://github.com/apache/airflow/issues/25357#issuecomment-1197817989
Isn't this what Params do?
https://airflow.apache.org/docs/apache-airflow/stable/concepts/params.html
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on issue #25357: Default JSON for dag_run.conf in the UI
Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #25357:
URL: https://github.com/apache/airflow/issues/25357#issuecomment-1197824768
Yes I think this exactly what Params are supposed to take over for. Maybe we should deprecate `dag_run.conf` altogether and start pointing people to it, or are there still reasons to prefer `conf`?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org