def CreateFlow(self, name=None, args=None, runner_args=None):

    if not name:
      raise ValueError("name can't be empty")

    request = api_pb2.ApiCreateFlowArgs(client_id=self.client_id)

    request.flow.name = name
    if runner_args:
      request.flow.runner_args = runner_args

    if args:
      request.flow.args.value = args.SerializeToString()
      request.flow.args.type_url = utils.GetTypeUrl(args)

    data = self._context.SendRequest("CreateFlow", request)
    return flow.Flow(data=data, context=self._context)
Returns first alias of the lexer guessed for this file.
dataset/ETHPy150Open google/grr/grr/gui/api_client/client.py/ClientBase.CreateFlow--crossover with--dataset/ETHPy150Open codeinn/vcs/vcs/nodes.py/FileNode.lexer_alias