uranusjr commented on code in PR #31808:
URL: https://github.com/apache/airflow/pull/31808#discussion_r1227536942
##########
airflow/triggers/base.py:
##########
@@ -109,7 +109,7 @@ class TriggerEvent:
events.
"""
- def __init__(self, payload: Any):
+ def __init__(self, payload: Any = None):
Review Comment:
Since it isn’t particularly useful to have a null payload for non-ending
events, maybe this should stay required, and only overridden in
BaseTaskEndEvent?
--
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]