Open jroach-astronomer opened 1 month ago
This would be a new feature, I'm going to see if it's something that's feasible. Basically, we'd need to support functionality that looks like this:
<dag-id>:
default_args:
on_failure_callback: <path-to-function>
<arg-name>: value
<arg-name>: value
In reference to https://github.com/astronomer/dag-factory/issues/206, add support for templating in
on_failure_callback
. Requester is specifically looking to support templated parameters that do not need to be stored in a.py
file.Here's an example (from the issue submitted by @matveykortsev) for reference:
@pankajastro has created an issue (https://github.com/astronomer/dag-factory/issues/200) to ensure consistency between native Airflow and dag-factory.