@flow.StateHandler()
  def Start(self):
    # Anyone can create the hunt but it will be created in the paused
    # state. Permissions are required to actually start it.
    with implementation.GRRHunt.StartHunt(
        runner_args=self.args.hunt_runner_args,
        args=self.args.hunt_args,
        token=self.token) as hunt:

      # Nothing really to do here - hunts are always created in the paused
      # state.
      self.Log("User %s created a new %s hunt (%s)",
               self.token.username, hunt.state.args.flow_runner_args.flow_name,
               hunt.urn)
Create the hunt, in the paused state.
dataset/ETHPy150Open google/grr/grr/lib/hunts/standard.py/CreateGenericHuntFlow.Start