(self, action: Action)
Modify state in reaction to an action.
Modify state in reaction to an action.
Modify state in reaction to an action .
def handle_action(self, action: Action) -> None:
        """Modify state in reaction to an action."""
        if isinstance(action, UpdateCommandAction):
            self._handle_command(action.command)
def handle_action ( self , action : Action ) -> None : if isinstance ( action , UpdateCommandAction ) : self . _handle_command ( action . command )