fsai-proto-specs 0.0.394__py3-none-any.whl → 0.0.395__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fsai-proto-specs
3
- Version: 0.0.394
3
+ Version: 0.0.395
4
4
  Summary: Auto-generated library for use with GRPC API.
5
5
  Home-page: https://github.com/fsai-dev/fsai-proto-specs
6
6
  License: MIT
@@ -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/corrections_api_pb2.py,sha256=cEiHfwmfSBeVTbcnNOxOQ8L0BLk2qimC3PCdVXeDiCs,4446
48
+ global_vo_grpc_service/protos/corrections_api_pb2_grpc.py,sha256=TC_BOfldOsS9Smnr4TaC-xrfi-n9ojtntV78m8gKIyo,10917
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
@@ -116,6 +118,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
116
118
  search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
117
119
  search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
118
120
  search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
119
- fsai_proto_specs-0.0.394.dist-info/METADATA,sha256=Km1_5gIpUQIhpFRFlhXowgU94MeLBjpoZgd5RDCFo9g,972
120
- fsai_proto_specs-0.0.394.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
121
- fsai_proto_specs-0.0.394.dist-info/RECORD,,
121
+ fsai_proto_specs-0.0.395.dist-info/METADATA,sha256=-_twfn60btSsoQ-wrKmhd4HIju7l7ORe0pgKHtNumZA,972
122
+ fsai_proto_specs-0.0.395.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
123
+ fsai_proto_specs-0.0.395.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/corrections_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'\n3global_vo_grpc_service/protos/corrections_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\"\'\n\x19\x43ompleteCorrectionRequest\x12\n\n\x02id\x18\x01 \x01(\x05\">\n\x1a\x43ompleteCorrectionResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xe6\x03\n\x0e\x43orrectionsApi\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.corrections_api_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _CORRECTION._serialized_start=132
26
+ _CORRECTION._serialized_end=351
27
+ _GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_start=353
28
+ _GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_end=422
29
+ _GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_start=424
30
+ _GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_end=496
31
+ _GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_start=498
32
+ _GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_end=554
33
+ _GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_start=556
34
+ _GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_end=626
35
+ _GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_start=628
36
+ _GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_end=684
37
+ _GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_start=686
38
+ _GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_end=756
39
+ _CREATECORRECTIONSREQUEST._serialized_start=758
40
+ _CREATECORRECTIONSREQUEST._serialized_end=816
41
+ _CREATECORRECTIONSRESPONSE._serialized_start=818
42
+ _CREATECORRECTIONSRESPONSE._serialized_end=892
43
+ _COMPLETECORRECTIONREQUEST._serialized_start=894
44
+ _COMPLETECORRECTIONREQUEST._serialized_end=933
45
+ _COMPLETECORRECTIONRESPONSE._serialized_start=935
46
+ _COMPLETECORRECTIONRESPONSE._serialized_end=997
47
+ _CORRECTIONSAPI._serialized_start=1000
48
+ _CORRECTIONSAPI._serialized_end=1486
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 corrections_api_pb2 as global__vo__grpc__service_dot_protos_dot_corrections__api__pb2
6
+
7
+
8
+ class CorrectionsApiStub(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
+ '/CorrectionsApi/GetCorrectionsByDetectionIds',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByDetectionIdsResponse.FromString,
21
+ )
22
+ self.GetCorrectionsByAssignedTo = channel.unary_unary(
23
+ '/CorrectionsApi/GetCorrectionsByAssignedTo',
24
+ request_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
25
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedToResponse.FromString,
26
+ )
27
+ self.GetCorrectionsByAssignedBy = channel.unary_unary(
28
+ '/CorrectionsApi/GetCorrectionsByAssignedBy',
29
+ request_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
30
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
31
+ )
32
+ self.CreateCorrections = channel.unary_unary(
33
+ '/CorrectionsApi/CreateCorrections',
34
+ request_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CreateCorrectionsRequest.SerializeToString,
35
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CreateCorrectionsResponse.FromString,
36
+ )
37
+ self.CompleteCorrection = channel.unary_unary(
38
+ '/CorrectionsApi/CompleteCorrection',
39
+ request_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CompleteCorrectionRequest.SerializeToString,
40
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CompleteCorrectionResponse.FromString,
41
+ )
42
+
43
+
44
+ class CorrectionsApiServicer(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_CorrectionsApiServicer_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_corrections__api__pb2.GetCorrectionsByDetectionIdsRequest.FromString,
83
+ response_serializer=global__vo__grpc__service_dot_protos_dot_corrections__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_corrections__api__pb2.GetCorrectionsByAssignedToRequest.FromString,
88
+ response_serializer=global__vo__grpc__service_dot_protos_dot_corrections__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_corrections__api__pb2.GetCorrectionsByAssignedByRequest.FromString,
93
+ response_serializer=global__vo__grpc__service_dot_protos_dot_corrections__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_corrections__api__pb2.CreateCorrectionsRequest.FromString,
98
+ response_serializer=global__vo__grpc__service_dot_protos_dot_corrections__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_corrections__api__pb2.CompleteCorrectionRequest.FromString,
103
+ response_serializer=global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CompleteCorrectionResponse.SerializeToString,
104
+ ),
105
+ }
106
+ generic_handler = grpc.method_handlers_generic_handler(
107
+ 'CorrectionsApi', rpc_method_handlers)
108
+ server.add_generic_rpc_handlers((generic_handler,))
109
+
110
+
111
+ # This class is part of an EXPERIMENTAL API.
112
+ class CorrectionsApi(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, '/CorrectionsApi/GetCorrectionsByDetectionIds',
127
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
128
+ global__vo__grpc__service_dot_protos_dot_corrections__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, '/CorrectionsApi/GetCorrectionsByAssignedTo',
144
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
145
+ global__vo__grpc__service_dot_protos_dot_corrections__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, '/CorrectionsApi/GetCorrectionsByAssignedBy',
161
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
162
+ global__vo__grpc__service_dot_protos_dot_corrections__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, '/CorrectionsApi/CreateCorrections',
178
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CreateCorrectionsRequest.SerializeToString,
179
+ global__vo__grpc__service_dot_protos_dot_corrections__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, '/CorrectionsApi/CompleteCorrection',
195
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CompleteCorrectionRequest.SerializeToString,
196
+ global__vo__grpc__service_dot_protos_dot_corrections__api__pb2.CompleteCorrectionResponse.FromString,
197
+ options, channel_credentials,
198
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)