code: def add_action(self, name, parent, action):
          
          if iskeyword(name):
              name = '_' + name
          self._actions[name] = parent.new_action(**action)
          setattr(self, name, self._actions[name].execute)
docs: Add a single Action to the APIObject.