Lee-W commented on code in PR #43773:
URL: https://github.com/apache/airflow/pull/43773#discussion_r1845925371


##########
task_sdk/src/airflow/sdk/definitions/asset/metadata.py:
##########
@@ -17,14 +17,34 @@
 
 from __future__ import annotations
 
-from typing import TYPE_CHECKING, Any
+from typing import (
+    Any,
+)
 
 import attrs
 
-from airflow.assets import AssetAlias, extract_event_key
+from airflow.sdk.definitions.asset import Asset, AssetAlias, _sanitize_uri
 
-if TYPE_CHECKING:
-    from airflow.assets import Asset
+__all__ = ["Metadata"]
+
+
+def extract_event_key(value: str | Asset | AssetAlias) -> str:

Review Comment:
   Yep, we should. Let me update it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to