def GetFlowArgsClass(self):
    if self.flow:
      flow_cls = flow.GRRFlow.classes.get(self.flow)
      if flow_cls is None:
        raise ValueError("Flow '%s' not known." % self.flow)

      # The required semantic type for this field is in args_type.
      return flow_cls.args_type
dataset/ETHPy150Open google/grr/grr/lib/flows/console/debugging.py/ConsoleDebugFlowArgs.GetFlowArgsClass/original