fsai-proto-specs 0.0.375__py3-none-any.whl → 0.0.376__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.375.dist-info → fsai_proto_specs-0.0.376.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.375.dist-info → fsai_proto_specs-0.0.376.dist-info}/RECORD +5 -5
- global_vo_grpc_service/protos/task_image_api_pb2.py +29 -25
- global_vo_grpc_service/protos/task_image_api_pb2_grpc.py +33 -0
- {fsai_proto_specs-0.0.375.dist-info → fsai_proto_specs-0.0.376.dist-info}/WHEEL +0 -0
|
@@ -78,8 +78,8 @@ global_vo_grpc_service/protos/source_api_pb2.py,sha256=jUv3nzlIvPtLY_qpmk33LEdD0
|
|
|
78
78
|
global_vo_grpc_service/protos/source_api_pb2_grpc.py,sha256=Egm2GiEmOqYwQ4if0UURfXWBjolh5vdt07jrQsn_RIk,8176
|
|
79
79
|
global_vo_grpc_service/protos/task_api_pb2.py,sha256=oPw2TW8B5lCISUnXcOD2guwZtUb6w6xj19kPMyTxYaE,9482
|
|
80
80
|
global_vo_grpc_service/protos/task_api_pb2_grpc.py,sha256=3CSNFrDdkBb0i6aSCL-dtyJBFPzbqD8J5EGP80eEuEc,22980
|
|
81
|
-
global_vo_grpc_service/protos/task_image_api_pb2.py,sha256=
|
|
82
|
-
global_vo_grpc_service/protos/task_image_api_pb2_grpc.py,sha256=
|
|
81
|
+
global_vo_grpc_service/protos/task_image_api_pb2.py,sha256=bOAc5NNFfPlsDD7-SAjY9lKVRLsFgRhrLIe4YTB3Bss,7258
|
|
82
|
+
global_vo_grpc_service/protos/task_image_api_pb2_grpc.py,sha256=83Ia60ki8jKSzbQW2QxRACXpnwPnIs5TgNl-_0ovmmE,15315
|
|
83
83
|
global_vo_grpc_service/protos/task_image_metadata_api_pb2.py,sha256=hxdaF9z0ZGNxrxfZu88OWcY5XMppeRZQA5m-wdorMhA,4944
|
|
84
84
|
global_vo_grpc_service/protos/task_image_metadata_api_pb2_grpc.py,sha256=bCM7yAdkNdqkck-N-JqmXstJg8afJkQx5tzR8wU7ioQ,11385
|
|
85
85
|
global_vo_grpc_service/protos/team_api_pb2.py,sha256=0R49sUUOlPhfs0xk9C-dk6wx1svDmuZrl0bR6CrtQN4,5888
|
|
@@ -110,6 +110,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
110
110
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
111
111
|
search_grpc_service/protos/search_api_pb2.py,sha256=lYpAYgNlDWQ2Zpo4t8qW3Pz8wC3GrcZ4ygK7d68Tyk8,5890
|
|
112
112
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=Sd8hqJhnGpqUQbGpNvUXNdr4rSXNbxbCR3AJrn9aMa4,8992
|
|
113
|
-
fsai_proto_specs-0.0.
|
|
114
|
-
fsai_proto_specs-0.0.
|
|
115
|
-
fsai_proto_specs-0.0.
|
|
113
|
+
fsai_proto_specs-0.0.376.dist-info/METADATA,sha256=xlP1RW3Vcw2iVtx_1Ua-01wyZgrRsb8OOcvrp3RWfrY,972
|
|
114
|
+
fsai_proto_specs-0.0.376.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
115
|
+
fsai_proto_specs-0.0.376.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/task_image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x99\x02\n\tTaskImage\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\x08 \x01(\t\x12\x30\n\x0cstate_set_on\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\n \x01(\x05\"M\n(GetCurrentStateByTaskIdAndImageIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"F\n)GetCurrentStateByTaskIdAndImageIdResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05state\x18\x02 \x01(\t\"[\n\'GetPaginatedTaskImagesFromTaskIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x1f\n\npagination\x18\x02 \x01(\x0b\x32\x0b.Pagination\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/task_image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x99\x02\n\tTaskImage\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\x08 \x01(\t\x12\x30\n\x0cstate_set_on\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\n \x01(\x05\"M\n(GetCurrentStateByTaskIdAndImageIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"F\n)GetCurrentStateByTaskIdAndImageIdResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05state\x18\x02 \x01(\t\"[\n\'GetPaginatedTaskImagesFromTaskIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x1f\n\npagination\x18\x02 \x01(\x0b\x32\x0b.Pagination\"f\n(GetPaginatedTaskImagesFromTaskIdResponse\x12\x1f\n\x0btask_images\x18\x01 \x03(\x0b\x32\n.TaskImage\x12\x19\n\x11total_task_images\x18\x02 \x01(\x05\"D\n!FindNextTaskImageForReviewRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x0e\n\x06states\x18\x02 \x03(\t\"f\n\"FindNextTaskImageForReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1e\n\ntask_image\x18\x02 \x01(\x0b\x32\n.TaskImage\"O\n\x1bUpdateTaskImageStateRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\x12\r\n\x05state\x18\x03 \x01(\t\"`\n\x1cUpdateTaskImageStateResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1e\n\ntask_image\x18\x02 \x01(\x0b\x32\n.TaskImage\"/\n\x1bGetTaskImageProgressRequest\x12\x10\n\x08task_ids\x18\x01 \x03(\x05\"\xb6\x02\n\x1cGetTaskImageProgressResponse\x12O\n\x13task_image_progress\x18\x01 \x03(\x0b\x32\x32.GetTaskImageProgressResponse.GetTaskImageProgress\x1a\xc4\x01\n\x14GetTaskImageProgress\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x02 \x01(\x05\x12\x1c\n\x14\x61nnotation_completed\x18\x03 \x01(\x05\x12\x1a\n\x12\x61nnotation_skipped\x18\x04 \x01(\x05\x12\x17\n\x0frework_required\x18\x05 \x01(\x05\x12\x18\n\x10rework_completed\x18\x06 \x01(\x05\x12\x18\n\x10review_completed\x18\x07 \x01(\x05\"\xbf\x01\n(GetTaskImageAuditCountByDateRangeRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12.\n\nstart_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\x04 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\"A\n)GetTaskImageAuditCountByDateRangeResponse\x12\x14\n\x0ctotal_images\x18\x01 \x01(\x05\"8\n)GetTaskImageVOCountsByTaskImageIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"\xba\x01\n*GetTaskImageVOCountsByTaskImageIdsResponse\x12Z\n\x14task_image_vo_counts\x18\x01 \x03(\x0b\x32<.GetTaskImageVOCountsByTaskImageIdsResponse.TaskImageVOCount\x1a\x30\n\x10TaskImageVOCount\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08vo_count\x18\x02 \x01(\x05\x32\x8f\x06\n\x0cTaskImageApi\x12z\n!GetCurrentStateByTaskIdAndImageId\x12).GetCurrentStateByTaskIdAndImageIdRequest\x1a*.GetCurrentStateByTaskIdAndImageIdResponse\x12w\n GetPaginatedTaskImagesFromTaskId\x12(.GetPaginatedTaskImagesFromTaskIdRequest\x1a).GetPaginatedTaskImagesFromTaskIdResponse\x12\x65\n\x1a\x46indNextTaskImageForReview\x12\".FindNextTaskImageForReviewRequest\x1a#.FindNextTaskImageForReviewResponse\x12S\n\x14UpdateTaskImageState\x12\x1c.UpdateTaskImageStateRequest\x1a\x1d.UpdateTaskImageStateResponse\x12S\n\x14GetTaskImageProgress\x12\x1c.GetTaskImageProgressRequest\x1a\x1d.GetTaskImageProgressResponse\x12z\n!GetTaskImageAuditCountByDateRange\x12).GetTaskImageAuditCountByDateRangeRequest\x1a*.GetTaskImageAuditCountByDateRangeResponse\x12}\n\"GetTaskImageVOCountsByTaskImageIds\x12*.GetTaskImageVOCountsByTaskImageIdsRequest\x1a+.GetTaskImageVOCountsByTaskImageIdsResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.task_image_api_pb2', globals())
|
|
@@ -30,28 +30,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
30
30
|
_GETCURRENTSTATEBYTASKIDANDIMAGEIDRESPONSE._serialized_end=563
|
|
31
31
|
_GETPAGINATEDTASKIMAGESFROMTASKIDREQUEST._serialized_start=565
|
|
32
32
|
_GETPAGINATEDTASKIMAGESFROMTASKIDREQUEST._serialized_end=656
|
|
33
|
-
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_start=
|
|
34
|
-
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_end=
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
33
|
+
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_start=658
|
|
34
|
+
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_end=760
|
|
35
|
+
_FINDNEXTTASKIMAGEFORREVIEWREQUEST._serialized_start=762
|
|
36
|
+
_FINDNEXTTASKIMAGEFORREVIEWREQUEST._serialized_end=830
|
|
37
|
+
_FINDNEXTTASKIMAGEFORREVIEWRESPONSE._serialized_start=832
|
|
38
|
+
_FINDNEXTTASKIMAGEFORREVIEWRESPONSE._serialized_end=934
|
|
39
|
+
_UPDATETASKIMAGESTATEREQUEST._serialized_start=936
|
|
40
|
+
_UPDATETASKIMAGESTATEREQUEST._serialized_end=1015
|
|
41
|
+
_UPDATETASKIMAGESTATERESPONSE._serialized_start=1017
|
|
42
|
+
_UPDATETASKIMAGESTATERESPONSE._serialized_end=1113
|
|
43
|
+
_GETTASKIMAGEPROGRESSREQUEST._serialized_start=1115
|
|
44
|
+
_GETTASKIMAGEPROGRESSREQUEST._serialized_end=1162
|
|
45
|
+
_GETTASKIMAGEPROGRESSRESPONSE._serialized_start=1165
|
|
46
|
+
_GETTASKIMAGEPROGRESSRESPONSE._serialized_end=1475
|
|
47
|
+
_GETTASKIMAGEPROGRESSRESPONSE_GETTASKIMAGEPROGRESS._serialized_start=1279
|
|
48
|
+
_GETTASKIMAGEPROGRESSRESPONSE_GETTASKIMAGEPROGRESS._serialized_end=1475
|
|
49
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGEREQUEST._serialized_start=1478
|
|
50
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGEREQUEST._serialized_end=1669
|
|
51
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_start=1671
|
|
52
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_end=1736
|
|
53
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSREQUEST._serialized_start=1738
|
|
54
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSREQUEST._serialized_end=1794
|
|
55
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE._serialized_start=1797
|
|
56
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE._serialized_end=1983
|
|
57
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE_TASKIMAGEVOCOUNT._serialized_start=1935
|
|
58
|
+
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE_TASKIMAGEVOCOUNT._serialized_end=1983
|
|
59
|
+
_TASKIMAGEAPI._serialized_start=1986
|
|
60
|
+
_TASKIMAGEAPI._serialized_end=2769
|
|
57
61
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -44,6 +44,11 @@ class TaskImageApiStub(object):
|
|
|
44
44
|
request_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeRequest.SerializeToString,
|
|
45
45
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.FromString,
|
|
46
46
|
)
|
|
47
|
+
self.GetTaskImageVOCountsByTaskImageIds = channel.unary_unary(
|
|
48
|
+
'/TaskImageApi/GetTaskImageVOCountsByTaskImageIds',
|
|
49
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.SerializeToString,
|
|
50
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.FromString,
|
|
51
|
+
)
|
|
47
52
|
|
|
48
53
|
|
|
49
54
|
class TaskImageApiServicer(object):
|
|
@@ -85,6 +90,12 @@ class TaskImageApiServicer(object):
|
|
|
85
90
|
context.set_details('Method not implemented!')
|
|
86
91
|
raise NotImplementedError('Method not implemented!')
|
|
87
92
|
|
|
93
|
+
def GetTaskImageVOCountsByTaskImageIds(self, request, context):
|
|
94
|
+
"""Missing associated documentation comment in .proto file."""
|
|
95
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
+
context.set_details('Method not implemented!')
|
|
97
|
+
raise NotImplementedError('Method not implemented!')
|
|
98
|
+
|
|
88
99
|
|
|
89
100
|
def add_TaskImageApiServicer_to_server(servicer, server):
|
|
90
101
|
rpc_method_handlers = {
|
|
@@ -118,6 +129,11 @@ def add_TaskImageApiServicer_to_server(servicer, server):
|
|
|
118
129
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeRequest.FromString,
|
|
119
130
|
response_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.SerializeToString,
|
|
120
131
|
),
|
|
132
|
+
'GetTaskImageVOCountsByTaskImageIds': grpc.unary_unary_rpc_method_handler(
|
|
133
|
+
servicer.GetTaskImageVOCountsByTaskImageIds,
|
|
134
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.FromString,
|
|
135
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.SerializeToString,
|
|
136
|
+
),
|
|
121
137
|
}
|
|
122
138
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
123
139
|
'TaskImageApi', rpc_method_handlers)
|
|
@@ -229,3 +245,20 @@ class TaskImageApi(object):
|
|
|
229
245
|
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.FromString,
|
|
230
246
|
options, channel_credentials,
|
|
231
247
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
248
|
+
|
|
249
|
+
@staticmethod
|
|
250
|
+
def GetTaskImageVOCountsByTaskImageIds(request,
|
|
251
|
+
target,
|
|
252
|
+
options=(),
|
|
253
|
+
channel_credentials=None,
|
|
254
|
+
call_credentials=None,
|
|
255
|
+
insecure=False,
|
|
256
|
+
compression=None,
|
|
257
|
+
wait_for_ready=None,
|
|
258
|
+
timeout=None,
|
|
259
|
+
metadata=None):
|
|
260
|
+
return grpc.experimental.unary_unary(request, target, '/TaskImageApi/GetTaskImageVOCountsByTaskImageIds',
|
|
261
|
+
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.SerializeToString,
|
|
262
|
+
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.FromString,
|
|
263
|
+
options, channel_credentials,
|
|
264
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|