fsai-proto-specs 0.0.393__py3-none-any.whl → 0.0.397__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fsai_proto_specs-0.0.393.dist-info → fsai_proto_specs-0.0.397.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.393.dist-info → fsai_proto_specs-0.0.397.dist-info}/RECORD +7 -3
- global_vo_grpc_service/protos/correction_api_pb2.py +49 -0
- global_vo_grpc_service/protos/correction_api_pb2_grpc.py +198 -0
- global_vo_grpc_service/protos/product_changelog_api_pb2.py +44 -0
- global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py +166 -0
- {fsai_proto_specs-0.0.393.dist-info → fsai_proto_specs-0.0.397.dist-info}/WHEEL +0 -0
|
@@ -44,6 +44,8 @@ global_vo_grpc_service/protos/category_api_pb2.py,sha256=S4ejycyOzGNweFILaOeadww
|
|
|
44
44
|
global_vo_grpc_service/protos/category_api_pb2_grpc.py,sha256=erxPMZGXPHzDgWhGTA6bfh3R4JA7v2pzk4-SOZMDaKU,6561
|
|
45
45
|
global_vo_grpc_service/protos/category_changelog_api_pb2.py,sha256=utcMnmzp6x_wNUbFI0N5b0iPpdxK7yrLfKlSvSj299c,2824
|
|
46
46
|
global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py,sha256=HzflwVLXd23omsc1RiO-F1vtix7AJ9VL2TH70Fskvfw,5291
|
|
47
|
+
global_vo_grpc_service/protos/correction_api_pb2.py,sha256=N1gR1itVZCHSSjlh1sVLw1dplsBlZ-GVWoJLvJAOYS4,4477
|
|
48
|
+
global_vo_grpc_service/protos/correction_api_pb2_grpc.py,sha256=YB2lRr2PtPapCMusfvlXC1WE5k22TLz1FTPurb-yPdE,10870
|
|
47
49
|
global_vo_grpc_service/protos/customer_api_pb2.py,sha256=4ihptYrq2fZXz8z5JYgsZlEvQ12cEH-p-ZqQjd-bJKY,1523
|
|
48
50
|
global_vo_grpc_service/protos/customer_api_pb2_grpc.py,sha256=S_OVW5vibkGtcNj7TOhzs-2RONxnQCiyB5Y5GCoHzPw,2986
|
|
49
51
|
global_vo_grpc_service/protos/detection_api_pb2.py,sha256=1imIR2QqbqhkAL4Ehc6JSjJ5sGVxCOSDtj96iUdwL1Q,1561
|
|
@@ -70,6 +72,8 @@ global_vo_grpc_service/protos/model_assessment_api_pb2.py,sha256=xUJHuNYWZSTViML
|
|
|
70
72
|
global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py,sha256=EwVFTLoI_drwbrcbKPOMqv3HwIcY4vQnC65OIFehrpc,6938
|
|
71
73
|
global_vo_grpc_service/protos/permission_api_pb2.py,sha256=r-kGWRZfytc5nbsSFMy1B0euC6hvI2zIOMJ39R_1mEs,2485
|
|
72
74
|
global_vo_grpc_service/protos/permission_api_pb2_grpc.py,sha256=AqaNSjZxphjTOSuD1d_4q64L1p8BUD5M7xwoiFuGkT0,4843
|
|
75
|
+
global_vo_grpc_service/protos/product_changelog_api_pb2.py,sha256=fHijZW094Key8fX76Xi4vTglt-CsU3pIQd_doANyUmM,4014
|
|
76
|
+
global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py,sha256=5U_itNWLS7HVAr6Kx0IfLQMi6mpOWAoZtAgUS-BnjyM,9022
|
|
73
77
|
global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
|
|
74
78
|
global_vo_grpc_service/protos/query_api_pb2_grpc.py,sha256=2QA_Os2JW1FwwTZhk2pzuw8G8TIVkfedjU3IaXco9CA,8967
|
|
75
79
|
global_vo_grpc_service/protos/review_api_pb2.py,sha256=92N1aM81NdjUb1InbypKIr1GXkk-rDAD5dGmu3uldAA,11890
|
|
@@ -114,6 +118,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
114
118
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
115
119
|
search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
|
|
116
120
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
|
|
117
|
-
fsai_proto_specs-0.0.
|
|
118
|
-
fsai_proto_specs-0.0.
|
|
119
|
-
fsai_proto_specs-0.0.
|
|
121
|
+
fsai_proto_specs-0.0.397.dist-info/METADATA,sha256=MFZOdTpO_m8vWEQ-Qh35VxQETXlwbthfUuBbrou37FA,972
|
|
122
|
+
fsai_proto_specs-0.0.397.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
123
|
+
fsai_proto_specs-0.0.397.dist-info/RECORD,,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/correction_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/correction_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdb\x01\n\nCorrection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_by\x18\x04 \x01(\x05\x12\x30\n\x0crequested_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ompleted_by\x18\x07 \x01(\x05\"E\n#GetCorrectionsByDetectionIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"H\n$GetCorrectionsByDetectionIdsResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedByRequest\x12\x13\n\x0b\x61ssigned_by\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedByResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\":\n\x18\x43reateCorrectionsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"J\n\x19\x43reateCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"7\n\x19\x43ompleteCorrectionRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\">\n\x1a\x43ompleteCorrectionResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xe5\x03\n\rCorrectionApi\x12k\n\x1cGetCorrectionsByDetectionIds\x12$.GetCorrectionsByDetectionIdsRequest\x1a%.GetCorrectionsByDetectionIdsResponse\x12\x65\n\x1aGetCorrectionsByAssignedTo\x12\".GetCorrectionsByAssignedToRequest\x1a#.GetCorrectionsByAssignedToResponse\x12\x65\n\x1aGetCorrectionsByAssignedBy\x12\".GetCorrectionsByAssignedByRequest\x1a#.GetCorrectionsByAssignedByResponse\x12J\n\x11\x43reateCorrections\x12\x19.CreateCorrectionsRequest\x1a\x1a.CreateCorrectionsResponse\x12M\n\x12\x43ompleteCorrection\x12\x1a.CompleteCorrectionRequest\x1a\x1b.CompleteCorrectionResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.correction_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CORRECTION._serialized_start=131
|
|
26
|
+
_CORRECTION._serialized_end=350
|
|
27
|
+
_GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_start=352
|
|
28
|
+
_GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_end=421
|
|
29
|
+
_GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_start=423
|
|
30
|
+
_GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_end=495
|
|
31
|
+
_GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_start=497
|
|
32
|
+
_GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_end=553
|
|
33
|
+
_GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_start=555
|
|
34
|
+
_GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_end=625
|
|
35
|
+
_GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_start=627
|
|
36
|
+
_GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_end=683
|
|
37
|
+
_GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_start=685
|
|
38
|
+
_GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_end=755
|
|
39
|
+
_CREATECORRECTIONSREQUEST._serialized_start=757
|
|
40
|
+
_CREATECORRECTIONSREQUEST._serialized_end=815
|
|
41
|
+
_CREATECORRECTIONSRESPONSE._serialized_start=817
|
|
42
|
+
_CREATECORRECTIONSRESPONSE._serialized_end=891
|
|
43
|
+
_COMPLETECORRECTIONREQUEST._serialized_start=893
|
|
44
|
+
_COMPLETECORRECTIONREQUEST._serialized_end=948
|
|
45
|
+
_COMPLETECORRECTIONRESPONSE._serialized_start=950
|
|
46
|
+
_COMPLETECORRECTIONRESPONSE._serialized_end=1012
|
|
47
|
+
_CORRECTIONAPI._serialized_start=1015
|
|
48
|
+
_CORRECTIONAPI._serialized_end=1500
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from global_vo_grpc_service.protos import correction_api_pb2 as global__vo__grpc__service_dot_protos_dot_correction__api__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CorrectionApiStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.GetCorrectionsByDetectionIds = channel.unary_unary(
|
|
18
|
+
'/CorrectionApi/GetCorrectionsByDetectionIds',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.GetCorrectionsByAssignedTo = channel.unary_unary(
|
|
23
|
+
'/CorrectionApi/GetCorrectionsByAssignedTo',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.GetCorrectionsByAssignedBy = channel.unary_unary(
|
|
28
|
+
'/CorrectionApi/GetCorrectionsByAssignedBy',
|
|
29
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
|
|
30
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.CreateCorrections = channel.unary_unary(
|
|
33
|
+
'/CorrectionApi/CreateCorrections',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.CompleteCorrection = channel.unary_unary(
|
|
38
|
+
'/CorrectionApi/CompleteCorrection',
|
|
39
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.SerializeToString,
|
|
40
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class CorrectionApiServicer(object):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
|
|
47
|
+
def GetCorrectionsByDetectionIds(self, request, context):
|
|
48
|
+
"""Missing associated documentation comment in .proto file."""
|
|
49
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
50
|
+
context.set_details('Method not implemented!')
|
|
51
|
+
raise NotImplementedError('Method not implemented!')
|
|
52
|
+
|
|
53
|
+
def GetCorrectionsByAssignedTo(self, request, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
def GetCorrectionsByAssignedBy(self, request, context):
|
|
60
|
+
"""Missing associated documentation comment in .proto file."""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
def CreateCorrections(self, request, context):
|
|
66
|
+
"""Missing associated documentation comment in .proto file."""
|
|
67
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
|
+
context.set_details('Method not implemented!')
|
|
69
|
+
raise NotImplementedError('Method not implemented!')
|
|
70
|
+
|
|
71
|
+
def CompleteCorrection(self, request, context):
|
|
72
|
+
"""Missing associated documentation comment in .proto file."""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def add_CorrectionApiServicer_to_server(servicer, server):
|
|
79
|
+
rpc_method_handlers = {
|
|
80
|
+
'GetCorrectionsByDetectionIds': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.GetCorrectionsByDetectionIds,
|
|
82
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.FromString,
|
|
83
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
'GetCorrectionsByAssignedTo': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.GetCorrectionsByAssignedTo,
|
|
87
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.FromString,
|
|
88
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.SerializeToString,
|
|
89
|
+
),
|
|
90
|
+
'GetCorrectionsByAssignedBy': grpc.unary_unary_rpc_method_handler(
|
|
91
|
+
servicer.GetCorrectionsByAssignedBy,
|
|
92
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.FromString,
|
|
93
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.SerializeToString,
|
|
94
|
+
),
|
|
95
|
+
'CreateCorrections': grpc.unary_unary_rpc_method_handler(
|
|
96
|
+
servicer.CreateCorrections,
|
|
97
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.FromString,
|
|
98
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.SerializeToString,
|
|
99
|
+
),
|
|
100
|
+
'CompleteCorrection': grpc.unary_unary_rpc_method_handler(
|
|
101
|
+
servicer.CompleteCorrection,
|
|
102
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.FromString,
|
|
103
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.SerializeToString,
|
|
104
|
+
),
|
|
105
|
+
}
|
|
106
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
107
|
+
'CorrectionApi', rpc_method_handlers)
|
|
108
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
# This class is part of an EXPERIMENTAL API.
|
|
112
|
+
class CorrectionApi(object):
|
|
113
|
+
"""Missing associated documentation comment in .proto file."""
|
|
114
|
+
|
|
115
|
+
@staticmethod
|
|
116
|
+
def GetCorrectionsByDetectionIds(request,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None):
|
|
126
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/GetCorrectionsByDetectionIds',
|
|
127
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
|
|
128
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.FromString,
|
|
129
|
+
options, channel_credentials,
|
|
130
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
131
|
+
|
|
132
|
+
@staticmethod
|
|
133
|
+
def GetCorrectionsByAssignedTo(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/GetCorrectionsByAssignedTo',
|
|
144
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
+
|
|
149
|
+
@staticmethod
|
|
150
|
+
def GetCorrectionsByAssignedBy(request,
|
|
151
|
+
target,
|
|
152
|
+
options=(),
|
|
153
|
+
channel_credentials=None,
|
|
154
|
+
call_credentials=None,
|
|
155
|
+
insecure=False,
|
|
156
|
+
compression=None,
|
|
157
|
+
wait_for_ready=None,
|
|
158
|
+
timeout=None,
|
|
159
|
+
metadata=None):
|
|
160
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/GetCorrectionsByAssignedBy',
|
|
161
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
|
|
162
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
|
|
163
|
+
options, channel_credentials,
|
|
164
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
|
+
|
|
166
|
+
@staticmethod
|
|
167
|
+
def CreateCorrections(request,
|
|
168
|
+
target,
|
|
169
|
+
options=(),
|
|
170
|
+
channel_credentials=None,
|
|
171
|
+
call_credentials=None,
|
|
172
|
+
insecure=False,
|
|
173
|
+
compression=None,
|
|
174
|
+
wait_for_ready=None,
|
|
175
|
+
timeout=None,
|
|
176
|
+
metadata=None):
|
|
177
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CreateCorrections',
|
|
178
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
|
|
179
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.FromString,
|
|
180
|
+
options, channel_credentials,
|
|
181
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
182
|
+
|
|
183
|
+
@staticmethod
|
|
184
|
+
def CompleteCorrection(request,
|
|
185
|
+
target,
|
|
186
|
+
options=(),
|
|
187
|
+
channel_credentials=None,
|
|
188
|
+
call_credentials=None,
|
|
189
|
+
insecure=False,
|
|
190
|
+
compression=None,
|
|
191
|
+
wait_for_ready=None,
|
|
192
|
+
timeout=None,
|
|
193
|
+
metadata=None):
|
|
194
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CompleteCorrection',
|
|
195
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.SerializeToString,
|
|
196
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.FromString,
|
|
197
|
+
options, channel_credentials,
|
|
198
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/product_changelog_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9global_vo_grpc_service/protos/product_changelog_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xd4\x01\n\x10ProductChangelog\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x06 \x01(\x05\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\x05\"N\n\x1dListProductChangelogsResponse\x12-\n\x12product_changelogs\x18\x01 \x03(\x0b\x32\x11.ProductChangelog\"M\n\x1d\x43reateProductChangelogRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"N\n\x1e\x43reateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"Y\n\x1dUpdateProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\"N\n\x1eUpdateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"+\n\x1d\x44\x65leteProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"B\n\x1e\x44\x65leteProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xf7\x02\n\x13ProductChangelogApi\x12O\n\x15ListProductChangelogs\x12\x16.google.protobuf.Empty\x1a\x1e.ListProductChangelogsResponse\x12Y\n\x16\x43reateProductChangelog\x12\x1e.CreateProductChangelogRequest\x1a\x1f.CreateProductChangelogResponse\x12Y\n\x16UpdateProductChangelog\x12\x1e.UpdateProductChangelogRequest\x1a\x1f.UpdateProductChangelogResponse\x12Y\n\x16\x44\x65leteProductChangelog\x12\x1e.DeleteProductChangelogRequest\x1a\x1f.DeleteProductChangelogResponseb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.product_changelog_api_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
_PRODUCTCHANGELOG._serialized_start=167
|
|
27
|
+
_PRODUCTCHANGELOG._serialized_end=379
|
|
28
|
+
_LISTPRODUCTCHANGELOGSRESPONSE._serialized_start=381
|
|
29
|
+
_LISTPRODUCTCHANGELOGSRESPONSE._serialized_end=459
|
|
30
|
+
_CREATEPRODUCTCHANGELOGREQUEST._serialized_start=461
|
|
31
|
+
_CREATEPRODUCTCHANGELOGREQUEST._serialized_end=538
|
|
32
|
+
_CREATEPRODUCTCHANGELOGRESPONSE._serialized_start=540
|
|
33
|
+
_CREATEPRODUCTCHANGELOGRESPONSE._serialized_end=618
|
|
34
|
+
_UPDATEPRODUCTCHANGELOGREQUEST._serialized_start=620
|
|
35
|
+
_UPDATEPRODUCTCHANGELOGREQUEST._serialized_end=709
|
|
36
|
+
_UPDATEPRODUCTCHANGELOGRESPONSE._serialized_start=711
|
|
37
|
+
_UPDATEPRODUCTCHANGELOGRESPONSE._serialized_end=789
|
|
38
|
+
_DELETEPRODUCTCHANGELOGREQUEST._serialized_start=791
|
|
39
|
+
_DELETEPRODUCTCHANGELOGREQUEST._serialized_end=834
|
|
40
|
+
_DELETEPRODUCTCHANGELOGRESPONSE._serialized_start=836
|
|
41
|
+
_DELETEPRODUCTCHANGELOGRESPONSE._serialized_end=902
|
|
42
|
+
_PRODUCTCHANGELOGAPI._serialized_start=905
|
|
43
|
+
_PRODUCTCHANGELOGAPI._serialized_end=1280
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from global_vo_grpc_service.protos import product_changelog_api_pb2 as global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2
|
|
6
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ProductChangelogApiStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.ListProductChangelogs = channel.unary_unary(
|
|
19
|
+
'/ProductChangelogApi/ListProductChangelogs',
|
|
20
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
21
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateProductChangelog = channel.unary_unary(
|
|
24
|
+
'/ProductChangelogApi/CreateProductChangelog',
|
|
25
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
|
|
26
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.UpdateProductChangelog = channel.unary_unary(
|
|
29
|
+
'/ProductChangelogApi/UpdateProductChangelog',
|
|
30
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
|
|
31
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.DeleteProductChangelog = channel.unary_unary(
|
|
34
|
+
'/ProductChangelogApi/DeleteProductChangelog',
|
|
35
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
|
|
36
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class ProductChangelogApiServicer(object):
|
|
41
|
+
"""Missing associated documentation comment in .proto file."""
|
|
42
|
+
|
|
43
|
+
def ListProductChangelogs(self, request, context):
|
|
44
|
+
"""Missing associated documentation comment in .proto file."""
|
|
45
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
46
|
+
context.set_details('Method not implemented!')
|
|
47
|
+
raise NotImplementedError('Method not implemented!')
|
|
48
|
+
|
|
49
|
+
def CreateProductChangelog(self, request, context):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
|
+
context.set_details('Method not implemented!')
|
|
53
|
+
raise NotImplementedError('Method not implemented!')
|
|
54
|
+
|
|
55
|
+
def UpdateProductChangelog(self, request, context):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def DeleteProductChangelog(self, request, context):
|
|
62
|
+
"""Missing associated documentation comment in .proto file."""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def add_ProductChangelogApiServicer_to_server(servicer, server):
|
|
69
|
+
rpc_method_handlers = {
|
|
70
|
+
'ListProductChangelogs': grpc.unary_unary_rpc_method_handler(
|
|
71
|
+
servicer.ListProductChangelogs,
|
|
72
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
73
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.SerializeToString,
|
|
74
|
+
),
|
|
75
|
+
'CreateProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
76
|
+
servicer.CreateProductChangelog,
|
|
77
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.FromString,
|
|
78
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.SerializeToString,
|
|
79
|
+
),
|
|
80
|
+
'UpdateProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.UpdateProductChangelog,
|
|
82
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.FromString,
|
|
83
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
'DeleteProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.DeleteProductChangelog,
|
|
87
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.FromString,
|
|
88
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.SerializeToString,
|
|
89
|
+
),
|
|
90
|
+
}
|
|
91
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
92
|
+
'ProductChangelogApi', rpc_method_handlers)
|
|
93
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
# This class is part of an EXPERIMENTAL API.
|
|
97
|
+
class ProductChangelogApi(object):
|
|
98
|
+
"""Missing associated documentation comment in .proto file."""
|
|
99
|
+
|
|
100
|
+
@staticmethod
|
|
101
|
+
def ListProductChangelogs(request,
|
|
102
|
+
target,
|
|
103
|
+
options=(),
|
|
104
|
+
channel_credentials=None,
|
|
105
|
+
call_credentials=None,
|
|
106
|
+
insecure=False,
|
|
107
|
+
compression=None,
|
|
108
|
+
wait_for_ready=None,
|
|
109
|
+
timeout=None,
|
|
110
|
+
metadata=None):
|
|
111
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/ListProductChangelogs',
|
|
112
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
113
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
|
|
114
|
+
options, channel_credentials,
|
|
115
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
|
+
|
|
117
|
+
@staticmethod
|
|
118
|
+
def CreateProductChangelog(request,
|
|
119
|
+
target,
|
|
120
|
+
options=(),
|
|
121
|
+
channel_credentials=None,
|
|
122
|
+
call_credentials=None,
|
|
123
|
+
insecure=False,
|
|
124
|
+
compression=None,
|
|
125
|
+
wait_for_ready=None,
|
|
126
|
+
timeout=None,
|
|
127
|
+
metadata=None):
|
|
128
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/CreateProductChangelog',
|
|
129
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
|
|
130
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
|
|
131
|
+
options, channel_credentials,
|
|
132
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
133
|
+
|
|
134
|
+
@staticmethod
|
|
135
|
+
def UpdateProductChangelog(request,
|
|
136
|
+
target,
|
|
137
|
+
options=(),
|
|
138
|
+
channel_credentials=None,
|
|
139
|
+
call_credentials=None,
|
|
140
|
+
insecure=False,
|
|
141
|
+
compression=None,
|
|
142
|
+
wait_for_ready=None,
|
|
143
|
+
timeout=None,
|
|
144
|
+
metadata=None):
|
|
145
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/UpdateProductChangelog',
|
|
146
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
|
|
147
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
|
|
148
|
+
options, channel_credentials,
|
|
149
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
150
|
+
|
|
151
|
+
@staticmethod
|
|
152
|
+
def DeleteProductChangelog(request,
|
|
153
|
+
target,
|
|
154
|
+
options=(),
|
|
155
|
+
channel_credentials=None,
|
|
156
|
+
call_credentials=None,
|
|
157
|
+
insecure=False,
|
|
158
|
+
compression=None,
|
|
159
|
+
wait_for_ready=None,
|
|
160
|
+
timeout=None,
|
|
161
|
+
metadata=None):
|
|
162
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/DeleteProductChangelog',
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
|
|
164
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
|
|
165
|
+
options, channel_credentials,
|
|
166
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|