You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Lee-W (via GitHub)" <gi...@apache.org> on 2025/09/03 09:14:27 UTC
Re: [PR] feat: create a new listener for asset events creation [airflow]
Lee-W commented on code in PR #55115:
URL: https://github.com/apache/airflow/pull/55115#discussion_r2318333841
##########
task-sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -703,3 +704,16 @@ class AssetAliasEvent(attrs.AttrsInstance):
source_alias_name: str
dest_asset_key: AssetUniqueKey
extra: dict[str, Any]
+
+
+@attrs.define
+class AssetEvent(attrs.AttrsInstance):
Review Comment:
I once wanted to add something similar, but was pointed out that elements in `airflow.sdk.definitions` should be used by users to define something.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org