You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/22 09:09:32 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #24733: Add support for multiple cron expressions in schedule_interval

uranusjr commented on code in PR #24733:
URL: https://github.com/apache/airflow/pull/24733#discussion_r927454669


##########
airflow/models/dag.py:
##########
@@ -105,7 +105,8 @@
 
 
 DagStateChangeCallback = Callable[[Context], None]
-ScheduleInterval = Union[None, str, timedelta, relativedelta]
+MultiCron = Union[List[str], Set[str], Tuple[str, ...]]

Review Comment:
   This additional type alias doesn’t seem to be necessary?
   
   (Also this can probably be simply `Collection[str]`)



-- 
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-unsubscribe@airflow.apache.org

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