Example #1
0
 def GetPipeline(
         self,
         request,  # type: beam_job_api_pb2.GetJobPipelineRequest
         context=None,
         timeout=None):
     # type: (...) -> beam_job_api_pb2.GetJobPipelineResponse
     return beam_job_api_pb2.GetJobPipelineResponse(
         pipeline=self._jobs[request.job_id].get_pipeline())
Example #2
0
 def GetPipeline(self, request, context=None):
   return beam_job_api_pb2.GetJobPipelineResponse(
       pipeline=self._jobs[request.job_id]._pipeline_proto)