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

rahulvats pushed a commit to branch py-client-sync
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit f9cef75f9efdf859faa000c802083ff86a158a6c
Author: GPK <[email protected]>
AuthorDate: Tue Mar 24 06:30:23 2026 +0000

    Update sdk lazy imports for lineage (#64123)
    
    * Update sdk lazy imports for lineage
    
    * Update docs
---
 task-sdk/docs/api.rst                | 7 +++++++
 task-sdk/src/airflow/sdk/__init__.py | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/task-sdk/docs/api.rst b/task-sdk/docs/api.rst
index 03b4d3999ba..1e3fb70ebad 100644
--- a/task-sdk/docs/api.rst
+++ b/task-sdk/docs/api.rst
@@ -225,6 +225,13 @@ I/O Helpers
 -----------
 .. autoapiclass:: airflow.sdk.ObjectStoragePath
 
+Lineage
+-------
+The ``lineage`` module is available as part of the Task SDK. It provides the 
public hook lineage
+collector interfaces used to capture and retrieve asset lineage metadata 
during task execution.
+
+.. autoapimodule:: airflow.sdk.lineage
+
 Execution Time Components
 -------------------------
 .. rubric:: Context
diff --git a/task-sdk/src/airflow/sdk/__init__.py 
b/task-sdk/src/airflow/sdk/__init__.py
index 8aa55a0e623..d3ba582870f 100644
--- a/task-sdk/src/airflow/sdk/__init__.py
+++ b/task-sdk/src/airflow/sdk/__init__.py
@@ -86,6 +86,7 @@ __all__ = [
     "get_current_context",
     "get_parsing_context",
     "literal",
+    "lineage",
     "macros",
     "setup",
     "task",
@@ -230,6 +231,7 @@ __lazy_imports: dict[str, str] = {
     "get_current_context": ".definitions.context",
     "get_parsing_context": ".definitions.context",
     "literal": ".definitions.template",
+    "lineage": ".lineage",
     "macros": ".execution_time",
     "setup": ".definitions.decorators",
     "task": ".definitions.decorators",

Reply via email to