You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by am...@apache.org on 2026/01/30 06:12:09 UTC
(airflow) 01/01: Fix string quotes in deadline alerts documentation
This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch amoghrajesh-patch-2
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 3199620b9739a573131e1a30b4ab782e705aab54
Author: Amogh Desai <am...@gmail.com>
AuthorDate: Fri Jan 30 11:41:56 2026 +0530
Fix string quotes in deadline alerts documentation
---
airflow-core/docs/howto/deadline-alerts.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/docs/howto/deadline-alerts.rst b/airflow-core/docs/howto/deadline-alerts.rst
index 7afdbe37504..ab1e9da5f69 100644
--- a/airflow-core/docs/howto/deadline-alerts.rst
+++ b/airflow-core/docs/howto/deadline-alerts.rst
@@ -247,9 +247,9 @@ A **custom asynchronous callback** might look like this:
async def custom_async_callback(**kwargs):
"""Handle deadline violation with custom logic."""
context = kwargs.get("context", {})
- print(f"Deadline exceeded for Dag {context.get("dag_run", {}).get("dag_id")}!")
+ print(f"Deadline exceeded for Dag {context.get('dag_run', {}).get('dag_id')}!")
print(f"Context: {context}")
- print(f"Alert type: {kwargs.get("alert_type")}")
+ print(f"Alert type: {kwargs.get('alert_type')}")
# Additional custom handling here
2. Restart your Triggerer.