airflow/models/dag.py
def following_schedule(self, dttm):
        """
        Calculates the following schedule for this dag in UTC.

        :param dttm: utc datetime
        :return: utc datetime
        """
        warnings.warn(
            "`DAG.following_schedule()` is deprecated. Use `DAG.next_dagrun_info(restricted=False)` instead.",
            category=DeprecationWarning,
            stacklevel=2,
        )
        data_interval = self.infer_automated_data_interval(timezone.coerce_datetime(dttm))
        next_info = self.next_dagrun_info(data_interval, restricted=False)
        if next_info is None:
            return None
        return next_info.data_interval.start

        Calculates the following schedule for this dag in UTC.

        :param dttm: utc datetime
        :return: utc datetime
        
Calculates the following schedule for this dag in UTC.
Calculates the following schedule for this dag in UTC .
def following_schedule(self, dttm):
        warnings.warn(
            "`DAG.following_schedule()` is deprecated. Use `DAG.next_dagrun_info(restricted=False)` instead.",
            category=DeprecationWarning,
            stacklevel=2,
        )
        data_interval = self.infer_automated_data_interval(timezone.coerce_datetime(dttm))
        next_info = self.next_dagrun_info(data_interval, restricted=False)
        if next_info is None:
            return None
        return next_info.data_interval.start
def following_schedule ( self , dttm ) : warnings . warn ( "`DAG.following_schedule()` is deprecated. Use `DAG.next_dagrun_info(restricted=False)` instead." , category = DeprecationWarning , stacklevel = 2 , ) data_interval = self . infer_automated_data_interval ( timezone . coerce_datetime ( dttm ) ) next_info = self . next_dagrun_info ( data_interval , restricted = False ) if next_info is None : return None return next_info . data_interval . start
Calculates the following schedule for this dag in UTC.
Calculates the following schedule for this dag in UTC .
"""
        Calculates the following schedule for this dag in UTC.

        :param dttm: utc datetime
        :return: utc datetime
        """
None
self
dttm
None