(self, event_data)
return super(Timeout, self).exit(event_data)
Extends `transitions.core.State.exit` by canceling a timer for the current model.
Extends `transitions.core.State.exit` by canceling a timer for the current model.
Extends transitions . core . State . exit by canceling a timer for the current model .
def exit(self, event_data):
        """ Extends `transitions.core.State.exit` by canceling a timer for the current model. """
        timer = self.runner.get(id(event_data.model), None)
        if timer is not None and timer.is_alive():
            timer.cancel()
        return super(Timeout, self).exit(event_data)
def exit ( self , event_data ) : timer = self . runner . get ( id ( event_data . model ) , None ) if timer is not None and timer . is_alive ( ) : timer . cancel ( ) return super ( Timeout , self ) . exit ( event_data )