1 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
4 import proto.BlueprintProcessing_pb2 as BlueprintProcessing__pb2
7 class BlueprintProcessingServiceStub(object):
8 # missing associated documentation comment in .proto file
11 def __init__(self, channel):
15 channel: A grpc.Channel.
17 self.process = channel.stream_stream(
18 '/org.onap.ccsdk.cds.controllerblueprints.processing.api.BlueprintProcessingService/process',
19 request_serializer=BlueprintProcessing__pb2.ExecutionServiceInput.SerializeToString,
20 response_deserializer=BlueprintProcessing__pb2.ExecutionServiceOutput.FromString,
24 class BlueprintProcessingServiceServicer(object):
25 # missing associated documentation comment in .proto file
28 def process(self, request_iterator, context):
29 # missing associated documentation comment in .proto file
31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
32 context.set_details('Method not implemented!')
33 raise NotImplementedError('Method not implemented!')
36 def add_BlueprintProcessingServiceServicer_to_server(servicer, server):
37 rpc_method_handlers = {
38 'process': grpc.stream_stream_rpc_method_handler(
40 request_deserializer=BlueprintProcessing__pb2.ExecutionServiceInput.FromString,
41 response_serializer=BlueprintProcessing__pb2.ExecutionServiceOutput.SerializeToString,
44 generic_handler = grpc.method_handlers_generic_handler(
45 'org.onap.ccsdk.cds.controllerblueprints.processing.api.BlueprintProcessingService', rpc_method_handlers)
46 server.add_generic_rpc_handlers((generic_handler,))