rasa/core/trackers.py
def travel_back_in_time(self,
                            target_time: float) -> 'DialogueStateTracker':
        """Creates a new tracker with a state at a specific timestamp.

        A new tracker will be created and all events previous to the
        passed time stamp will be replayed. Events that occur exactly
        at the target time will be included."""

        tracker = self.init_copy()

        for event in self.events:
            if event.timestamp <= target_time:
                tracker.update(event)
            else:
                break

        return tracker
Creates a new tracker with a state at a specific timestamp.

        A new tracker will be created and all events previous to the
        passed time stamp will be replayed. Events that occur exactly
        at the target time will be included.
Creates a new tracker with a state at a specific timestamp.
A new tracker will be created and all events previous to the
passed time stamp will be replayed. Events that occur exactly
at the target time will be included.
Creates a new tracker with a state at a specific timestamp . A new tracker will be created and all events previous to the passed time stamp will be replayed . Events that occur exactly at the target time will be included .
def travel_back_in_time(self,
                            target_time: float) -> 'DialogueStateTracker':
        tracker = self.init_copy()
        for event in self.events:
            if event.timestamp <= target_time:
                tracker.update(event)
            else:
                break
        return tracker
def travel_back_in_time ( self , target_time : float ) -> 'DialogueStateTracker' : tracker = self . init_copy ( ) for event in self . events : if event . timestamp <= target_time : tracker . update ( event ) else : break return tracker
Creates a new tracker with a state at a specific timestamp.
Creates a new tracker with a state at a specific timestamp .
"""Creates a new tracker with a state at a specific timestamp.

        A new tracker will be created and all events previous to the
        passed time stamp will be replayed. Events that occur exactly
        at the target time will be included."""
self
target_time
float