This is an automated email from the ASF dual-hosted git repository.
amoghdesai 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 11238e50375 Update lineage docs to use the right path from task sdk
(#61133)
11238e50375 is described below
commit 11238e503759c79a38e8117f5595242703c82db3
Author: Amogh Desai <[email protected]>
AuthorDate: Wed Jan 28 15:44:17 2026 +0530
Update lineage docs to use the right path from task sdk (#61133)
---
airflow-core/docs/administration-and-deployment/lineage.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/docs/administration-and-deployment/lineage.rst
b/airflow-core/docs/administration-and-deployment/lineage.rst
index a47d043c112..a587d5d5e38 100644
--- a/airflow-core/docs/administration-and-deployment/lineage.rst
+++ b/airflow-core/docs/administration-and-deployment/lineage.rst
@@ -32,7 +32,7 @@ Hooks can also send arbitrary non-asset related data to this
collector as shown
.. code-block:: python
- from airflow.lineage.hook import get_hook_lineage_collector
+ from airflow.sdk.lineage import get_hook_lineage_collector
class CustomHook(BaseHook):
@@ -48,7 +48,7 @@ which is registered in an Airflow plugin.
.. code-block:: python
- from airflow.lineage.hook_lineage import HookLineageReader
+ from airflow.sdk.lineage import HookLineageReader
from airflow.plugins_manager import AirflowPlugin