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? It 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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to