fsai-proto-specs 0.0.385__py3-none-any.whl → 0.0.386__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.385.dist-info → fsai_proto_specs-0.0.386.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.385.dist-info → fsai_proto_specs-0.0.386.dist-info}/RECORD +5 -5
- global_vo_grpc_service/protos/model_assessment_api_pb2.py +18 -11
- global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +34 -0
- {fsai_proto_specs-0.0.385.dist-info → fsai_proto_specs-0.0.386.dist-info}/WHEEL +0 -0
|
@@ -66,8 +66,8 @@ global_vo_grpc_service/protos/invitation_response_api_pb2.py,sha256=fYGdOU8W-hS_
|
|
|
66
66
|
global_vo_grpc_service/protos/invitation_response_api_pb2_grpc.py,sha256=Zu6vCYBYIiz2_7NEIC-P4i4B8t1HVYkRQQ5QgvE12-c,7423
|
|
67
67
|
global_vo_grpc_service/protos/mission_api_pb2.py,sha256=XevbYoQBPk5czs6H0cpNdGW9ECUpIElXwTnDScwmBSE,6206
|
|
68
68
|
global_vo_grpc_service/protos/mission_api_pb2_grpc.py,sha256=gw6AvO1mpzShEAXps-O-hbrB6HkLuUtNJuyRuyhPflU,15800
|
|
69
|
-
global_vo_grpc_service/protos/model_assessment_api_pb2.py,sha256=
|
|
70
|
-
global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py,sha256=
|
|
69
|
+
global_vo_grpc_service/protos/model_assessment_api_pb2.py,sha256=QTnJc0UFJ5ttm1l3lwB-j7zE2YJBsro28opq16EFjic,3578
|
|
70
|
+
global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py,sha256=SPaLL19BKAWGV4cC7-wmCMMDOA-p2q1uD_JtvikhGAw,4954
|
|
71
71
|
global_vo_grpc_service/protos/permission_api_pb2.py,sha256=r-kGWRZfytc5nbsSFMy1B0euC6hvI2zIOMJ39R_1mEs,2485
|
|
72
72
|
global_vo_grpc_service/protos/permission_api_pb2_grpc.py,sha256=AqaNSjZxphjTOSuD1d_4q64L1p8BUD5M7xwoiFuGkT0,4843
|
|
73
73
|
global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
|
|
@@ -114,6 +114,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
114
114
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
115
115
|
search_grpc_service/protos/search_api_pb2.py,sha256=lYpAYgNlDWQ2Zpo4t8qW3Pz8wC3GrcZ4ygK7d68Tyk8,5890
|
|
116
116
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=Sd8hqJhnGpqUQbGpNvUXNdr4rSXNbxbCR3AJrn9aMa4,8992
|
|
117
|
-
fsai_proto_specs-0.0.
|
|
118
|
-
fsai_proto_specs-0.0.
|
|
119
|
-
fsai_proto_specs-0.0.
|
|
117
|
+
fsai_proto_specs-0.0.386.dist-info/METADATA,sha256=E9g8ey1e6oZsIMjiAtKPM3dgw8-gLcKoUiAD9TbMy5Q,972
|
|
118
|
+
fsai_proto_specs-0.0.386.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
119
|
+
fsai_proto_specs-0.0.386.dist-info/RECORD,,
|
|
@@ -12,9 +12,10 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from global_vo_grpc_service.protos import source_api_pb2 as global__vo__grpc__service_dot_protos_dot_source__api__pb2
|
|
15
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8global_vo_grpc_service/protos/model_assessment_api.proto\x1a.global_vo_grpc_service/protos/source_api.proto\"6\n\x1fListModelScoreThresholdsRequest\x12\x13\n\x0b\x63onfig_type\x18\x01 \x01(\t\"\xab\x01\n\x13ModelScoreThreshold\x12\x17\n\x06source\x18\x01 \x01(\x0b\x32\x07.Source\x12\x43\n\x10score_thresholds\x18\x02 \x03(\x0b\x32).ModelScoreThreshold.ScoreThresholdsEntry\x1a\x36\n\x14ScoreThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"X\n ListModelScoreThresholdsResponse\x12\x34\n\x16model_score_thresholds\x18\x01 \x03(\x0b\x32\x14.
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8global_vo_grpc_service/protos/model_assessment_api.proto\x1a.global_vo_grpc_service/protos/source_api.proto\x1a\x1bgoogle/protobuf/empty.proto\"6\n\x1fListModelScoreThresholdsRequest\x12\x13\n\x0b\x63onfig_type\x18\x01 \x01(\t\"\xab\x01\n\x13ModelScoreThreshold\x12\x17\n\x06source\x18\x01 \x01(\x0b\x32\x07.Source\x12\x43\n\x10score_thresholds\x18\x02 \x03(\x0b\x32).ModelScoreThreshold.ScoreThresholdsEntry\x1a\x36\n\x14ScoreThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"X\n ListModelScoreThresholdsResponse\x12\x34\n\x16model_score_thresholds\x18\x01 \x03(\x0b\x32\x14.ModelScoreThreshold\"\x92\x01\n\x16ModelAssessmentMetrics\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tprecision\x18\x03 \x01(\x01\x12\x0e\n\x06recall\x18\x04 \x01(\x01\x12\x11\n\tmiss_rate\x18\x05 \x01(\x01\x12\x0f\n\x07\x66p_rate\x18\x06 \x01(\x01\x12\x17\n\x0fscore_threshold\x18\x07 \x01(\x01\"\x84\x01\n\x1b\x41ssessmentVersionConfigData\x12\x15\n\rmodel_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63onfig_type\x18\x02 \x01(\t\x12\x39\n\x18model_assessment_metrics\x18\x03 \x03(\x0b\x32\x17.ModelAssessmentMetrics\"a\n\x19GetAssessmentDataResponse\x12\x44\n\x1e\x61ssessment_version_config_data\x18\x01 \x03(\x0b\x32\x1c.AssessmentVersionConfigData2\xbe\x01\n\x12ModelAssessmentApi\x12_\n\x18ListModelScoreThresholds\x12 .ListModelScoreThresholdsRequest\x1a!.ListModelScoreThresholdsResponse\x12G\n\x11GetAssessmentData\x12\x16.google.protobuf.Empty\x1a\x1a.GetAssessmentDataResponseb\x06proto3')
|
|
18
19
|
|
|
19
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.model_assessment_api_pb2', globals())
|
|
@@ -23,14 +24,20 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
24
|
DESCRIPTOR._options = None
|
|
24
25
|
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._options = None
|
|
25
26
|
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_options = b'8\001'
|
|
26
|
-
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=
|
|
27
|
-
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=
|
|
28
|
-
_MODELSCORETHRESHOLD._serialized_start=
|
|
29
|
-
_MODELSCORETHRESHOLD._serialized_end=
|
|
30
|
-
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=
|
|
31
|
-
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=
|
|
32
|
-
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=
|
|
33
|
-
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=137
|
|
28
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=191
|
|
29
|
+
_MODELSCORETHRESHOLD._serialized_start=194
|
|
30
|
+
_MODELSCORETHRESHOLD._serialized_end=365
|
|
31
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=311
|
|
32
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=365
|
|
33
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=367
|
|
34
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=455
|
|
35
|
+
_MODELASSESSMENTMETRICS._serialized_start=458
|
|
36
|
+
_MODELASSESSMENTMETRICS._serialized_end=604
|
|
37
|
+
_ASSESSMENTVERSIONCONFIGDATA._serialized_start=607
|
|
38
|
+
_ASSESSMENTVERSIONCONFIGDATA._serialized_end=739
|
|
39
|
+
_GETASSESSMENTDATARESPONSE._serialized_start=741
|
|
40
|
+
_GETASSESSMENTDATARESPONSE._serialized_end=838
|
|
41
|
+
_MODELASSESSMENTAPI._serialized_start=841
|
|
42
|
+
_MODELASSESSMENTAPI._serialized_end=1031
|
|
36
43
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
5
|
from global_vo_grpc_service.protos import model_assessment_api_pb2 as global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2
|
|
6
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class ModelAssessmentApiStub(object):
|
|
@@ -19,6 +20,11 @@ class ModelAssessmentApiStub(object):
|
|
|
19
20
|
request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
|
|
20
21
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
21
22
|
)
|
|
23
|
+
self.GetAssessmentData = channel.unary_unary(
|
|
24
|
+
'/ModelAssessmentApi/GetAssessmentData',
|
|
25
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
26
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
27
|
+
)
|
|
22
28
|
|
|
23
29
|
|
|
24
30
|
class ModelAssessmentApiServicer(object):
|
|
@@ -30,6 +36,12 @@ class ModelAssessmentApiServicer(object):
|
|
|
30
36
|
context.set_details('Method not implemented!')
|
|
31
37
|
raise NotImplementedError('Method not implemented!')
|
|
32
38
|
|
|
39
|
+
def GetAssessmentData(self, request, context):
|
|
40
|
+
"""Missing associated documentation comment in .proto file."""
|
|
41
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
|
+
context.set_details('Method not implemented!')
|
|
43
|
+
raise NotImplementedError('Method not implemented!')
|
|
44
|
+
|
|
33
45
|
|
|
34
46
|
def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
35
47
|
rpc_method_handlers = {
|
|
@@ -38,6 +50,11 @@ def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
|
38
50
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.FromString,
|
|
39
51
|
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.SerializeToString,
|
|
40
52
|
),
|
|
53
|
+
'GetAssessmentData': grpc.unary_unary_rpc_method_handler(
|
|
54
|
+
servicer.GetAssessmentData,
|
|
55
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
56
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.SerializeToString,
|
|
57
|
+
),
|
|
41
58
|
}
|
|
42
59
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
43
60
|
'ModelAssessmentApi', rpc_method_handlers)
|
|
@@ -64,3 +81,20 @@ class ModelAssessmentApi(object):
|
|
|
64
81
|
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
65
82
|
options, channel_credentials,
|
|
66
83
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
84
|
+
|
|
85
|
+
@staticmethod
|
|
86
|
+
def GetAssessmentData(request,
|
|
87
|
+
target,
|
|
88
|
+
options=(),
|
|
89
|
+
channel_credentials=None,
|
|
90
|
+
call_credentials=None,
|
|
91
|
+
insecure=False,
|
|
92
|
+
compression=None,
|
|
93
|
+
wait_for_ready=None,
|
|
94
|
+
timeout=None,
|
|
95
|
+
metadata=None):
|
|
96
|
+
return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/GetAssessmentData',
|
|
97
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
98
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
99
|
+
options, channel_credentials,
|
|
100
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|