uranusjr commented on code in PR #27758: URL: https://github.com/apache/airflow/pull/27758#discussion_r1067914034
########## airflow/models/taskinstance.py: ########## @@ -139,6 +139,13 @@ PAST_DEPENDS_MET = "past_depends_met" +class ArgDeferred: + """sentinel.""" + + +DEFERRED = ArgDeferred() Review Comment: The naming feels a bit weird. Perhaps we could make those functions return `RunResult | None` where `RunResult` is an enum. It would currently has only one member `deferred` but we could potentially use the mechanism for other things. -- 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]
