code: def build_action(self, action):
          
          try:
              self.action = Action.from_string(action)
          except ValueError:
              raise
  
          return self
docs: Tries to build an :class:`action.Action` instance from the given
          action.
  
          Raises ValueError if the :class:`action.Action` object can't be build
          from the given action.