The GitHub Actions job "Tests (AMD)" on 
airflow.git/ghaeli/callback-context-execution-api has failed.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
81908347df62836d13b5cd8543d8389dead30bb9 / Sean Ghaeli <[email protected]>
Add Jinja template rendering for deadline callback kwargs

Plain function callbacks can now use Jinja2 templates in their kwargs:

    callback_kwargs={"text": "DAG {{ dag_run.dag_id }} missed at {{ 
deadline.deadline_time }}"}

String values containing `{{` are rendered against the callback context
(which includes dag_run, deadline, run_id, ds, ts, etc.) before the
callback is invoked. Non-string values, the context key itself, and
strings without template markers pass through unchanged. Render failures
fall back to the raw string with a warning.

Notifier classes (BaseNotifier subclasses) are unaffected — they handle
their own rendering via __call__.

Report URL: https://github.com/apache/airflow/actions/runs/27525609236

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to