(self, schedule=None)
Resets this alert schedule instance and puts it into a state which
        is the same as if it had just spawned now.
Resets this alert schedule instance and puts it into a state which
        is the same as if it had just spawned now.
Resets this alert schedule instance and puts it into a state which is the same as if it had just spawned now .
def reset_schedule(self, schedule=None):
        """
        Resets this alert schedule instance and puts it into a state which
        is the same as if it had just spawned now.
        """
        schedule = schedule or self.memoized_schedule
        self.current_event_num = 0
        self.schedule_iteration_num = 1
        self.active = True
        schedule.set_first_event_due_timestamp(self)
def reset_schedule ( self , schedule = None ) : schedule = schedule or self . memoized_schedule self . current_event_num = 0 self . schedule_iteration_num = 1 self . active = True schedule . set_first_event_due_timestamp ( self )