This is an automated email from the ASF dual-hosted git repository.

kaxil pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2aa31ae7bff Use airflow.sdk imports in Airflow 3 upgrade guide example 
(#74015)
2aa31ae7bff is described below

commit 2aa31ae7bff504d130b351c6b2c8b4e49a79e284
Author: 백형준 <[email protected]>
AuthorDate: Fri Oct 2 06:52:13 2026 +0900

    Use airflow.sdk imports in Airflow 3 upgrade guide example (#74015)
    
    The upgrade guide asks users to move from airflow.decorators to 
airflow.sdk, but its manual-run migration example still used the deprecated 
path, so readers copying it get deprecation warnings now and broken code once 
the legacy imports are removed.
---
 airflow-core/docs/installation/upgrading_to_airflow3.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/docs/installation/upgrading_to_airflow3.rst 
b/airflow-core/docs/installation/upgrading_to_airflow3.rst
index cd32d05d629..a9c5d67fb8f 100644
--- a/airflow-core/docs/installation/upgrading_to_airflow3.rst
+++ b/airflow-core/docs/installation/upgrading_to_airflow3.rst
@@ -437,7 +437,7 @@ If your Dag logic needs the user-specified date for a 
manual run, use
 
 .. code-block:: python
 
-   from airflow.decorators import get_current_context, task
+   from airflow.sdk import get_current_context, task
 
 
    @task

Reply via email to