    def __init__(self, name, during, on_enter, on_exit):
        # type: (str, Callable[..., None], Callable[..., None], Callable[..., None]) -> None
        '''
        Args:
            name (str): The name of this state.
            during (function): A function to call while this state is active.
            on_enter (function): A function to call when transitioning into
                                 this state.
            on_exit (function): A function to call when transitioning out of
                                this state.
        '''
        self.name = name
        self._during = during
        self._on_enter = on_enter
        self._on_exit = on_exit
Args:
name (str): The name of this state.
during (function): A function to call while this state is active.
on_enter (function): A function to call when transitioning into
this state.
on_exit (function): A function to call when transitioning out of
this state.
securitybot/state_machine.py