This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 746257fc105064a5cd249de4ed17f5bc95f85113 Author: Tzu-ping Chung <[email protected]> AuthorDate: Mon May 5 17:58:51 2025 +0800 Use top-level imports in docs if possible (#50195) (cherry picked from commit c5cfe4883ee9a3b4c596cdc79ebf7b2097bcd03b) --- airflow-core/docs/authoring-and-scheduling/assets.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow-core/docs/authoring-and-scheduling/assets.rst b/airflow-core/docs/authoring-and-scheduling/assets.rst index f7f018c6d97..dbbecd91ef8 100644 --- a/airflow-core/docs/authoring-and-scheduling/assets.rst +++ b/airflow-core/docs/authoring-and-scheduling/assets.rst @@ -280,7 +280,7 @@ The following example creates an asset event against the S3 URI ``f"s3://bucket/ .. code-block:: python - from airflow.sdk.definitions.asset import AssetAlias + from airflow.sdk import AssetAlias @task(outlets=[AssetAlias("my-task-outputs")]) @@ -292,7 +292,7 @@ The following example creates an asset event against the S3 URI ``f"s3://bucket/ .. code-block:: python - from airflow.sdk.definitions.asset.metadata import Metadata + from airflow.sdk import Metadata @task(outlets=[AssetAlias("my-task-outputs")]) @@ -304,7 +304,7 @@ Only one asset event is emitted for an added asset, even if it is added to the a .. code-block:: python - from airflow.sdk.definitions.asset import AssetAlias + from airflow.sdk import AssetAlias @task(
