fsai-proto-specs 0.0.401__py3-none-any.whl → 0.0.402__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.401.dist-info → fsai_proto_specs-0.0.402.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.401.dist-info → fsai_proto_specs-0.0.402.dist-info}/RECORD +5 -5
- global_vo_grpc_service/protos/audit_query_api_pb2.py +13 -9
- global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py +33 -0
- {fsai_proto_specs-0.0.401.dist-info → fsai_proto_specs-0.0.402.dist-info}/WHEEL +0 -0
|
@@ -38,8 +38,8 @@ global_vo_grpc_service/protos/admin_user_api_pb2.py,sha256=-GcTy9-WgqduUs5-xHDhf
|
|
|
38
38
|
global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py,sha256=x-VH8aivS7hdUO__q_Ga6PGNGxvPeDveRYuaUgWTjsM,14194
|
|
39
39
|
global_vo_grpc_service/protos/area_of_interest_api_pb2.py,sha256=3g40q1psIjQBmogK_NTWYucTT-RcRtDBvoO5jVgyLYg,5988
|
|
40
40
|
global_vo_grpc_service/protos/area_of_interest_api_pb2_grpc.py,sha256=E6mbPOe3AEUVJV0EmSSArGEb8wgDRhpxNEqI7dRrrt4,15343
|
|
41
|
-
global_vo_grpc_service/protos/audit_query_api_pb2.py,sha256=
|
|
42
|
-
global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py,sha256=
|
|
41
|
+
global_vo_grpc_service/protos/audit_query_api_pb2.py,sha256=9BxMjWRBpVmZTtL3o5chV1gc7ZqfzDXoq-qqIi3tFio,3207
|
|
42
|
+
global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py,sha256=AVQQZdSIrC5XqlpLXtwcRQU4KMa_-RIn8I1p-6305Kk,7034
|
|
43
43
|
global_vo_grpc_service/protos/category_api_pb2.py,sha256=S4ejycyOzGNweFILaOeadwwuvyfOOov0duBzjbIkPVo,3822
|
|
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
|
|
@@ -120,6 +120,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
120
120
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
121
121
|
search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
|
|
122
122
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
|
|
123
|
-
fsai_proto_specs-0.0.
|
|
124
|
-
fsai_proto_specs-0.0.
|
|
125
|
-
fsai_proto_specs-0.0.
|
|
123
|
+
fsai_proto_specs-0.0.402.dist-info/METADATA,sha256=ukb3w-M8emorcQJXCCV1FAwQtCj405DTJ4TtyEVzk3A,972
|
|
124
|
+
fsai_proto_specs-0.0.402.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
125
|
+
fsai_proto_specs-0.0.402.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from audit_grpc_service.protos import audit_api_pb2 as audit__grpc__service_dot_protos_dot_audit__api__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3global_vo_grpc_service/protos/audit_query_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)audit_grpc_service/protos/audit_api.proto\"G\n&ListAuditsByDetectionInstanceIdRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\"A\n\'ListAuditsByDetectionInstanceIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\"4\n ListContributorsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\xba\x01\n!ListContributorsByImageIdResponse\x12\x44\n\x0c\x63ontributors\x18\x01 \x03(\x0b\x32..ListContributorsByImageIdResponse.Contributor\x1aO\n\x0b\x43ontributor\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12/\n\x0b\x61\x63tioned_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3global_vo_grpc_service/protos/audit_query_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)audit_grpc_service/protos/audit_api.proto\"G\n&ListAuditsByDetectionInstanceIdRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\"A\n\'ListAuditsByDetectionInstanceIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\",\n\x19ListAuditsByUserIdRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\"4\n\x1aListAuditsByUserIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\"4\n ListContributorsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\xba\x01\n!ListContributorsByImageIdResponse\x12\x44\n\x0c\x63ontributors\x18\x01 \x03(\x0b\x32..ListContributorsByImageIdResponse.Contributor\x1aO\n\x0b\x43ontributor\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12/\n\x0b\x61\x63tioned_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xb8\x02\n\rAuditQueryApi\x12t\n\x1fListAuditsByDetectionInstanceId\x12\'.ListAuditsByDetectionInstanceIdRequest\x1a(.ListAuditsByDetectionInstanceIdResponse\x12M\n\x12ListAuditsByUserId\x12\x1a.ListAuditsByUserIdRequest\x1a\x1b.ListAuditsByUserIdResponse\x12\x62\n\x19ListContributorsByImageId\x12!.ListContributorsByImageIdRequest\x1a\".ListContributorsByImageIdResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.audit_query_api_pb2', globals())
|
|
@@ -26,12 +26,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
26
26
|
_LISTAUDITSBYDETECTIONINSTANCEIDREQUEST._serialized_end=202
|
|
27
27
|
_LISTAUDITSBYDETECTIONINSTANCEIDRESPONSE._serialized_start=204
|
|
28
28
|
_LISTAUDITSBYDETECTIONINSTANCEIDRESPONSE._serialized_end=269
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
_LISTAUDITSBYUSERIDREQUEST._serialized_start=271
|
|
30
|
+
_LISTAUDITSBYUSERIDREQUEST._serialized_end=315
|
|
31
|
+
_LISTAUDITSBYUSERIDRESPONSE._serialized_start=317
|
|
32
|
+
_LISTAUDITSBYUSERIDRESPONSE._serialized_end=369
|
|
33
|
+
_LISTCONTRIBUTORSBYIMAGEIDREQUEST._serialized_start=371
|
|
34
|
+
_LISTCONTRIBUTORSBYIMAGEIDREQUEST._serialized_end=423
|
|
35
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE._serialized_start=426
|
|
36
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE._serialized_end=612
|
|
37
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE_CONTRIBUTOR._serialized_start=533
|
|
38
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE_CONTRIBUTOR._serialized_end=612
|
|
39
|
+
_AUDITQUERYAPI._serialized_start=615
|
|
40
|
+
_AUDITQUERYAPI._serialized_end=927
|
|
37
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,11 @@ class AuditQueryApiStub(object):
|
|
|
19
19
|
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdRequest.SerializeToString,
|
|
20
20
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdResponse.FromString,
|
|
21
21
|
)
|
|
22
|
+
self.ListAuditsByUserId = channel.unary_unary(
|
|
23
|
+
'/AuditQueryApi/ListAuditsByUserId',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.FromString,
|
|
26
|
+
)
|
|
22
27
|
self.ListContributorsByImageId = channel.unary_unary(
|
|
23
28
|
'/AuditQueryApi/ListContributorsByImageId',
|
|
24
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListContributorsByImageIdRequest.SerializeToString,
|
|
@@ -35,6 +40,12 @@ class AuditQueryApiServicer(object):
|
|
|
35
40
|
context.set_details('Method not implemented!')
|
|
36
41
|
raise NotImplementedError('Method not implemented!')
|
|
37
42
|
|
|
43
|
+
def ListAuditsByUserId(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
|
+
|
|
38
49
|
def ListContributorsByImageId(self, request, context):
|
|
39
50
|
"""Missing associated documentation comment in .proto file."""
|
|
40
51
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -49,6 +60,11 @@ def add_AuditQueryApiServicer_to_server(servicer, server):
|
|
|
49
60
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdRequest.FromString,
|
|
50
61
|
response_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdResponse.SerializeToString,
|
|
51
62
|
),
|
|
63
|
+
'ListAuditsByUserId': grpc.unary_unary_rpc_method_handler(
|
|
64
|
+
servicer.ListAuditsByUserId,
|
|
65
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.FromString,
|
|
66
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.SerializeToString,
|
|
67
|
+
),
|
|
52
68
|
'ListContributorsByImageId': grpc.unary_unary_rpc_method_handler(
|
|
53
69
|
servicer.ListContributorsByImageId,
|
|
54
70
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListContributorsByImageIdRequest.FromString,
|
|
@@ -81,6 +97,23 @@ class AuditQueryApi(object):
|
|
|
81
97
|
options, channel_credentials,
|
|
82
98
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
83
99
|
|
|
100
|
+
@staticmethod
|
|
101
|
+
def ListAuditsByUserId(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, '/AuditQueryApi/ListAuditsByUserId',
|
|
112
|
+
global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.SerializeToString,
|
|
113
|
+
global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.FromString,
|
|
114
|
+
options, channel_credentials,
|
|
115
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
|
+
|
|
84
117
|
@staticmethod
|
|
85
118
|
def ListContributorsByImageId(request,
|
|
86
119
|
target,
|
|
File without changes
|