aircal/events.py
def _next_dag_runs(self, pattern, end_date):
        """
        Returns future DAG runs starting from the base date and to the end date.

        If the cron pattern is not recognized an empty list is returned.
        """
        if not pattern:
            return []

        pattern = pattern.strip('"')
        try:
            c = croniter(pattern, self.base_date)
        except CroniterBadCronError:
            return []

        dates = []
        while True:
            next_date = c.get_next(datetime)
            if next_date > end_date:
                break
            dates.append(next_date)
        return dates

        Returns future DAG runs starting from the base date and to the end date.

        If the cron pattern is not recognized an empty list is returned.
        
Returns future DAG runs starting from the base date and to the end date.
If the cron pattern is not recognized an empty list is returned.
Returns future DAG runs starting from the base date and to the end date . If the cron pattern is not recognized an empty list is returned .
def _next_dag_runs(self, pattern, end_date):
        if not pattern:
            return []
        pattern = pattern.strip('"')
        try:
            c = croniter(pattern, self.base_date)
        except CroniterBadCronError:
            return []
        dates = []
        while True:
            next_date = c.get_next(datetime)
            if next_date > end_date:
                break
            dates.append(next_date)
        return dates
def _next_dag_runs ( self , pattern , end_date ) : if not pattern : return [ ] pattern = pattern . strip ( '"' ) try : c = croniter ( pattern , self . base_date ) except CroniterBadCronError : return [ ] dates = [ ] while True : next_date = c . get_next ( datetime ) if next_date > end_date : break dates . append ( next_date ) return dates
Returns future DAG runs starting from the base date and to the end date.
Returns future DAG runs starting from the base date and to the end date .
"""
        Returns future DAG runs starting from the base date and to the end date.

        If the cron pattern is not recognized an empty list is returned.
        """
self
pattern
end_date