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


##########
airflow-core/src/airflow/listeners/types.py:
##########
@@ -34,6 +34,9 @@
 class AssetEvent:
     """Asset event representation for asset listener hooks."""
 
+    id: int

Review Comment:
   id, timestamp and asset_id are required and sit before asset, so any code 
that constructs listeners.types.AssetEvent itself (third-party listener tests, 
mocks) now gets a TypeError or mis-assigned positional args. #67285 added 
partition_date with a default, last in the list. Could these get defaults and 
move to the end, or is the intent that only core builds this type.



-- 
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