Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@ad301c9
  • Loading branch information
droplet-bot committed Aug 23, 2023
1 parent 8812f71 commit bae3b23
Show file tree
Hide file tree
Showing 6 changed files with 658 additions and 189 deletions.
28 changes: 14 additions & 14 deletions vdp/controller/v1alpha/controller_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

276 changes: 190 additions & 86 deletions vdp/pipeline/v1alpha/pipeline_pb2.py

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions vdp/pipeline/v1alpha/pipeline_private_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions vdp/pipeline/v1alpha/pipeline_private_service_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def __init__(self, channel):
request_serializer=vdp_dot_pipeline_dot_v1alpha_dot_operator__definition__pb2.LookUpOperatorDefinitionAdminRequest.SerializeToString,
response_deserializer=vdp_dot_pipeline_dot_v1alpha_dot_operator__definition__pb2.LookUpOperatorDefinitionAdminResponse.FromString,
)
self.ListPipelineReleasesAdmin = channel.unary_unary(
'/vdp.pipeline.v1alpha.PipelinePrivateService/ListPipelineReleasesAdmin',
request_serializer=vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminRequest.SerializeToString,
response_deserializer=vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminResponse.FromString,
)


class PipelinePrivateServiceServicer(object):
Expand Down Expand Up @@ -62,6 +67,14 @@ def LookUpOperatorDefinitionAdmin(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')

def ListPipelineReleasesAdmin(self, request, context):
"""ListPipelineReleasesAdmin method receives a ListPipelineReleasesAdminRequest message and
returns a ListPipelineReleasesAdminResponse message.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')


def add_PipelinePrivateServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
Expand All @@ -80,6 +93,11 @@ def add_PipelinePrivateServiceServicer_to_server(servicer, server):
request_deserializer=vdp_dot_pipeline_dot_v1alpha_dot_operator__definition__pb2.LookUpOperatorDefinitionAdminRequest.FromString,
response_serializer=vdp_dot_pipeline_dot_v1alpha_dot_operator__definition__pb2.LookUpOperatorDefinitionAdminResponse.SerializeToString,
),
'ListPipelineReleasesAdmin': grpc.unary_unary_rpc_method_handler(
servicer.ListPipelineReleasesAdmin,
request_deserializer=vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminRequest.FromString,
response_serializer=vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'vdp.pipeline.v1alpha.PipelinePrivateService', rpc_method_handlers)
Expand Down Expand Up @@ -141,3 +159,20 @@ def LookUpOperatorDefinitionAdmin(request,
vdp_dot_pipeline_dot_v1alpha_dot_operator__definition__pb2.LookUpOperatorDefinitionAdminResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

@staticmethod
def ListPipelineReleasesAdmin(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/vdp.pipeline.v1alpha.PipelinePrivateService/ListPipelineReleasesAdmin',
vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminRequest.SerializeToString,
vdp_dot_pipeline_dot_v1alpha_dot_pipeline__pb2.ListPipelineReleasesAdminResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
Loading

0 comments on commit bae3b23

Please sign in to comment.