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