LiaoAB opened a new pull request, #75597: URL: https://github.com/apache/airflow/pull/75597
The Dag docs passed an `SmtpNotifier` instance directly as the Deadline Alert `callback`, which raises `ValueError` because callbacks must be `AsyncCallback` or `SyncCallback`. Wrap the notifier in `AsyncCallback` and pass its arguments through `kwargs`, matching the working example in the Deadline Alerts how-to. closes: #75452 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — opencode (deepseek-v4.1-flash-free) Generated-by: opencode (deepseek-v4.1-flash-free) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
