ramitkataria commented on code in PR #55086:
URL: https://github.com/apache/airflow/pull/55086#discussion_r2316701583
##########
airflow-core/src/airflow/models/dag.py:
##########
@@ -2009,12 +2012,25 @@ def next_dagrun_data_interval(self, value:
tuple[datetime, datetime] | None) ->
@property
Review Comment:
What do you think about also returning a list of 1 item in the getter and
similarly setting the value as a list of 1 item in the setter in the case of
`self._deadline`/`value` being a dict containing 1 deadline? I think this would
avoid having to repeat the type-checking logic in other places
--
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]