def GetActionArgsClass(self):
    if self.action:
      action_cls = actions.ActionPlugin.classes.get(self.action)
      if action_cls is None:
        raise ValueError("Client Action '%s' not known." % self.action)

      # The required semantic type for this field is in the client action's
      # in_rdfvalue.
      return action_cls.in_rdfvalue
dataset/ETHPy150Open google/grr/grr/lib/flows/console/debugging.py/ClientActionArgs.GetActionArgsClass/original