def GetArtifact(self, request): requests.put( beam_artifact_api_pb2.ArtifactRequestWrapper(get_artifact=request)) while True: response = next(responses) yield response.get_artifact_response if response.is_last: break
def ResolveArtifactss(self, request): requests.put( beam_artifact_api_pb2.ArtifactRequestWrapper( resolve_artifact=request)) return next(responses).resolve_artifact_response