mariotaddeucci opened a new issue, #24546:
URL: https://github.com/apache/airflow/issues/24546
### Apache Airflow version
2.3.2 (latest released)
### What happened
When changing the `default_args` on DAG using cluster policy, nothing
happens.
### What you think should happen instead
The cluster policies overwrite the defined values, the same should happen
with default_args.
### How to reproduce
Just change a value on default args using cluster policies.
```
def dag_policy(dag: DAG):
dag.default_args["owner"]="not_working"
dag.tags = ["working"]
```
### Operating System
Official docker image
### Versions of Apache Airflow Providers
No providers added.
### Deployment
Other
### Deployment details
It happen on airflow standalone, no specific setup to reproduce that.
### Anything else
_No response_
### Are you willing to submit 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]