From d5389f52e6d6eaede19bf94b1f698774efda6487 Mon Sep 17 00:00:00 2001 From: LIU ZHE YOU Date: Mon, 20 Jul 2026 15:42:56 +0000 Subject: [PATCH] Document that Code view shows only Python source for stub tasks --- .../docs/authoring-and-scheduling/language-sdks/index.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/airflow-core/docs/authoring-and-scheduling/language-sdks/index.rst b/airflow-core/docs/authoring-and-scheduling/language-sdks/index.rst index faba410b325d8..7272444cba383 100644 --- a/airflow-core/docs/authoring-and-scheduling/language-sdks/index.rst +++ b/airflow-core/docs/authoring-and-scheduling/language-sdks/index.rst @@ -122,6 +122,13 @@ XCom references should be defined inside the Python Dag (they are task dependenc actually read the values out in the language implementation, and vice versa. See specific language SDK documentation on how to do this correctly. +.. note:: + + For a Dag containing stub tasks, the **Code** view in the Airflow UI shows only the Python Dag + file — including the stub declarations — as the Dag's source. The non-Python implementation source + is not displayed anywhere in the UI; consult your project repository or the build artifact shipped + in the bundle to inspect it. This is an intentional architecture decision, not a bug. + .. _language-sdks/coordinator-config: Coordinator configuration