예제 #1
0
파일: api.py 프로젝트: skirankumar/grr
 def CreateHunt(self,
                flow_name=None,
                flow_args=None,
                hunt_runner_args=None):
     return hunt.CreateHunt(flow_name=flow_name,
                            flow_args=flow_args,
                            hunt_runner_args=hunt_runner_args,
                            context=self._context)
예제 #2
0
 def CreateHunt(
     self,
     flow_name: Optional[str] = None,
     flow_args: Optional[message.Message] = None,
     hunt_runner_args: Optional[flows_pb2.HuntRunnerArgs] = None,
 ) -> hunt.Hunt:
     return hunt.CreateHunt(flow_name=flow_name,
                            flow_args=flow_args,
                            hunt_runner_args=hunt_runner_args,
                            context=self._context)