nidx-protos 6.3.7.post4077__py3-none-any.whl → 6.3.7.post4079__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.
- nidx_protos/nidx_pb2.py +13 -3
- nidx_protos/nidx_pb2_grpc.py +219 -56
- {nidx_protos-6.3.7.post4077.dist-info → nidx_protos-6.3.7.post4079.dist-info}/METADATA +1 -1
- nidx_protos-6.3.7.post4079.dist-info/RECORD +9 -0
- nidx_protos-6.3.7.post4077.dist-info/RECORD +0 -9
- {nidx_protos-6.3.7.post4077.dist-info → nidx_protos-6.3.7.post4079.dist-info}/WHEEL +0 -0
- {nidx_protos-6.3.7.post4077.dist-info → nidx_protos-6.3.7.post4079.dist-info}/entry_points.txt +0 -0
nidx_protos/nidx_pb2.py
CHANGED
@@ -1,12 +1,22 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
3
4
|
# source: nidx.proto
|
4
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 5.29.0
|
5
6
|
"""Generated protocol buffer code."""
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
9
11
|
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
5,
|
15
|
+
29,
|
16
|
+
0,
|
17
|
+
'',
|
18
|
+
'nidx.proto'
|
19
|
+
)
|
10
20
|
# @@protoc_insertion_point(imports)
|
11
21
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
@@ -41,8 +51,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnidx.proto\x12\x
|
|
41
51
|
_globals = globals()
|
42
52
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
43
53
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidx_pb2', _globals)
|
44
|
-
if _descriptor._USE_C_DESCRIPTORS
|
45
|
-
DESCRIPTOR.
|
54
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
55
|
+
DESCRIPTOR._loaded_options = None
|
46
56
|
_globals['_NOTIFICATION']._serialized_start=89
|
47
57
|
_globals['_NOTIFICATION']._serialized_end=235
|
48
58
|
_globals['_NOTIFICATION_ACTION']._serialized_start=191
|
nidx_protos/nidx_pb2_grpc.py
CHANGED
@@ -1,11 +1,31 @@
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
3
3
|
import grpc
|
4
|
+
import warnings
|
4
5
|
|
5
6
|
from nucliadb_protos import nodereader_pb2 as nucliadb__protos_dot_nodereader__pb2
|
6
7
|
from nucliadb_protos import noderesources_pb2 as nucliadb__protos_dot_noderesources__pb2
|
7
8
|
from nucliadb_protos import nodewriter_pb2 as nucliadb__protos_dot_nodewriter__pb2
|
8
9
|
|
10
|
+
GRPC_GENERATED_VERSION = '1.71.0'
|
11
|
+
GRPC_VERSION = grpc.__version__
|
12
|
+
_version_not_supported = False
|
13
|
+
|
14
|
+
try:
|
15
|
+
from grpc._utilities import first_version_is_lower
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
17
|
+
except ImportError:
|
18
|
+
_version_not_supported = True
|
19
|
+
|
20
|
+
if _version_not_supported:
|
21
|
+
raise RuntimeError(
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
23
|
+
+ f' but the generated code in nidx_pb2_grpc.py depends on'
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
27
|
+
)
|
28
|
+
|
9
29
|
|
10
30
|
class NidxApiStub(object):
|
11
31
|
"""Missing associated documentation comment in .proto file."""
|
@@ -20,42 +40,42 @@ class NidxApiStub(object):
|
|
20
40
|
'/nidx.NidxApi/GetShard',
|
21
41
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.GetShardRequest.SerializeToString,
|
22
42
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.Shard.FromString,
|
23
|
-
)
|
43
|
+
_registered_method=True)
|
24
44
|
self.NewShard = channel.unary_unary(
|
25
45
|
'/nidx.NidxApi/NewShard',
|
26
46
|
request_serializer=nucliadb__protos_dot_nodewriter__pb2.NewShardRequest.SerializeToString,
|
27
47
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.ShardCreated.FromString,
|
28
|
-
)
|
48
|
+
_registered_method=True)
|
29
49
|
self.DeleteShard = channel.unary_unary(
|
30
50
|
'/nidx.NidxApi/DeleteShard',
|
31
51
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
32
52
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.ShardId.FromString,
|
33
|
-
)
|
53
|
+
_registered_method=True)
|
34
54
|
self.ListShards = channel.unary_unary(
|
35
55
|
'/nidx.NidxApi/ListShards',
|
36
56
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
37
57
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.ShardIds.FromString,
|
38
|
-
)
|
58
|
+
_registered_method=True)
|
39
59
|
self.AddVectorSet = channel.unary_unary(
|
40
60
|
'/nidx.NidxApi/AddVectorSet',
|
41
61
|
request_serializer=nucliadb__protos_dot_nodewriter__pb2.NewVectorSetRequest.SerializeToString,
|
42
62
|
response_deserializer=nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
43
|
-
)
|
63
|
+
_registered_method=True)
|
44
64
|
self.RemoveVectorSet = channel.unary_unary(
|
45
65
|
'/nidx.NidxApi/RemoveVectorSet',
|
46
66
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.VectorSetID.SerializeToString,
|
47
67
|
response_deserializer=nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
48
|
-
)
|
68
|
+
_registered_method=True)
|
49
69
|
self.ListVectorSets = channel.unary_unary(
|
50
70
|
'/nidx.NidxApi/ListVectorSets',
|
51
71
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
52
72
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.VectorSetList.FromString,
|
53
|
-
)
|
73
|
+
_registered_method=True)
|
54
74
|
self.GetMetadata = channel.unary_unary(
|
55
75
|
'/nidx.NidxApi/GetMetadata',
|
56
76
|
request_serializer=nucliadb__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
57
77
|
response_deserializer=nucliadb__protos_dot_noderesources__pb2.NodeMetadata.FromString,
|
58
|
-
)
|
78
|
+
_registered_method=True)
|
59
79
|
|
60
80
|
|
61
81
|
class NidxApiServicer(object):
|
@@ -156,6 +176,7 @@ def add_NidxApiServicer_to_server(servicer, server):
|
|
156
176
|
generic_handler = grpc.method_handlers_generic_handler(
|
157
177
|
'nidx.NidxApi', rpc_method_handlers)
|
158
178
|
server.add_generic_rpc_handlers((generic_handler,))
|
179
|
+
server.add_registered_method_handlers('nidx.NidxApi', rpc_method_handlers)
|
159
180
|
|
160
181
|
|
161
182
|
# This class is part of an EXPERIMENTAL API.
|
@@ -173,11 +194,21 @@ class NidxApi(object):
|
|
173
194
|
wait_for_ready=None,
|
174
195
|
timeout=None,
|
175
196
|
metadata=None):
|
176
|
-
return grpc.experimental.unary_unary(
|
197
|
+
return grpc.experimental.unary_unary(
|
198
|
+
request,
|
199
|
+
target,
|
200
|
+
'/nidx.NidxApi/GetShard',
|
177
201
|
nucliadb__protos_dot_nodereader__pb2.GetShardRequest.SerializeToString,
|
178
202
|
nucliadb__protos_dot_noderesources__pb2.Shard.FromString,
|
179
|
-
options,
|
180
|
-
|
203
|
+
options,
|
204
|
+
channel_credentials,
|
205
|
+
insecure,
|
206
|
+
call_credentials,
|
207
|
+
compression,
|
208
|
+
wait_for_ready,
|
209
|
+
timeout,
|
210
|
+
metadata,
|
211
|
+
_registered_method=True)
|
181
212
|
|
182
213
|
@staticmethod
|
183
214
|
def NewShard(request,
|
@@ -190,11 +221,21 @@ class NidxApi(object):
|
|
190
221
|
wait_for_ready=None,
|
191
222
|
timeout=None,
|
192
223
|
metadata=None):
|
193
|
-
return grpc.experimental.unary_unary(
|
224
|
+
return grpc.experimental.unary_unary(
|
225
|
+
request,
|
226
|
+
target,
|
227
|
+
'/nidx.NidxApi/NewShard',
|
194
228
|
nucliadb__protos_dot_nodewriter__pb2.NewShardRequest.SerializeToString,
|
195
229
|
nucliadb__protos_dot_noderesources__pb2.ShardCreated.FromString,
|
196
|
-
options,
|
197
|
-
|
230
|
+
options,
|
231
|
+
channel_credentials,
|
232
|
+
insecure,
|
233
|
+
call_credentials,
|
234
|
+
compression,
|
235
|
+
wait_for_ready,
|
236
|
+
timeout,
|
237
|
+
metadata,
|
238
|
+
_registered_method=True)
|
198
239
|
|
199
240
|
@staticmethod
|
200
241
|
def DeleteShard(request,
|
@@ -207,11 +248,21 @@ class NidxApi(object):
|
|
207
248
|
wait_for_ready=None,
|
208
249
|
timeout=None,
|
209
250
|
metadata=None):
|
210
|
-
return grpc.experimental.unary_unary(
|
251
|
+
return grpc.experimental.unary_unary(
|
252
|
+
request,
|
253
|
+
target,
|
254
|
+
'/nidx.NidxApi/DeleteShard',
|
211
255
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
212
256
|
nucliadb__protos_dot_noderesources__pb2.ShardId.FromString,
|
213
|
-
options,
|
214
|
-
|
257
|
+
options,
|
258
|
+
channel_credentials,
|
259
|
+
insecure,
|
260
|
+
call_credentials,
|
261
|
+
compression,
|
262
|
+
wait_for_ready,
|
263
|
+
timeout,
|
264
|
+
metadata,
|
265
|
+
_registered_method=True)
|
215
266
|
|
216
267
|
@staticmethod
|
217
268
|
def ListShards(request,
|
@@ -224,11 +275,21 @@ class NidxApi(object):
|
|
224
275
|
wait_for_ready=None,
|
225
276
|
timeout=None,
|
226
277
|
metadata=None):
|
227
|
-
return grpc.experimental.unary_unary(
|
278
|
+
return grpc.experimental.unary_unary(
|
279
|
+
request,
|
280
|
+
target,
|
281
|
+
'/nidx.NidxApi/ListShards',
|
228
282
|
nucliadb__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
229
283
|
nucliadb__protos_dot_noderesources__pb2.ShardIds.FromString,
|
230
|
-
options,
|
231
|
-
|
284
|
+
options,
|
285
|
+
channel_credentials,
|
286
|
+
insecure,
|
287
|
+
call_credentials,
|
288
|
+
compression,
|
289
|
+
wait_for_ready,
|
290
|
+
timeout,
|
291
|
+
metadata,
|
292
|
+
_registered_method=True)
|
232
293
|
|
233
294
|
@staticmethod
|
234
295
|
def AddVectorSet(request,
|
@@ -241,11 +302,21 @@ class NidxApi(object):
|
|
241
302
|
wait_for_ready=None,
|
242
303
|
timeout=None,
|
243
304
|
metadata=None):
|
244
|
-
return grpc.experimental.unary_unary(
|
305
|
+
return grpc.experimental.unary_unary(
|
306
|
+
request,
|
307
|
+
target,
|
308
|
+
'/nidx.NidxApi/AddVectorSet',
|
245
309
|
nucliadb__protos_dot_nodewriter__pb2.NewVectorSetRequest.SerializeToString,
|
246
310
|
nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
247
|
-
options,
|
248
|
-
|
311
|
+
options,
|
312
|
+
channel_credentials,
|
313
|
+
insecure,
|
314
|
+
call_credentials,
|
315
|
+
compression,
|
316
|
+
wait_for_ready,
|
317
|
+
timeout,
|
318
|
+
metadata,
|
319
|
+
_registered_method=True)
|
249
320
|
|
250
321
|
@staticmethod
|
251
322
|
def RemoveVectorSet(request,
|
@@ -258,11 +329,21 @@ class NidxApi(object):
|
|
258
329
|
wait_for_ready=None,
|
259
330
|
timeout=None,
|
260
331
|
metadata=None):
|
261
|
-
return grpc.experimental.unary_unary(
|
332
|
+
return grpc.experimental.unary_unary(
|
333
|
+
request,
|
334
|
+
target,
|
335
|
+
'/nidx.NidxApi/RemoveVectorSet',
|
262
336
|
nucliadb__protos_dot_noderesources__pb2.VectorSetID.SerializeToString,
|
263
337
|
nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
264
|
-
options,
|
265
|
-
|
338
|
+
options,
|
339
|
+
channel_credentials,
|
340
|
+
insecure,
|
341
|
+
call_credentials,
|
342
|
+
compression,
|
343
|
+
wait_for_ready,
|
344
|
+
timeout,
|
345
|
+
metadata,
|
346
|
+
_registered_method=True)
|
266
347
|
|
267
348
|
@staticmethod
|
268
349
|
def ListVectorSets(request,
|
@@ -275,11 +356,21 @@ class NidxApi(object):
|
|
275
356
|
wait_for_ready=None,
|
276
357
|
timeout=None,
|
277
358
|
metadata=None):
|
278
|
-
return grpc.experimental.unary_unary(
|
359
|
+
return grpc.experimental.unary_unary(
|
360
|
+
request,
|
361
|
+
target,
|
362
|
+
'/nidx.NidxApi/ListVectorSets',
|
279
363
|
nucliadb__protos_dot_noderesources__pb2.ShardId.SerializeToString,
|
280
364
|
nucliadb__protos_dot_noderesources__pb2.VectorSetList.FromString,
|
281
|
-
options,
|
282
|
-
|
365
|
+
options,
|
366
|
+
channel_credentials,
|
367
|
+
insecure,
|
368
|
+
call_credentials,
|
369
|
+
compression,
|
370
|
+
wait_for_ready,
|
371
|
+
timeout,
|
372
|
+
metadata,
|
373
|
+
_registered_method=True)
|
283
374
|
|
284
375
|
@staticmethod
|
285
376
|
def GetMetadata(request,
|
@@ -292,11 +383,21 @@ class NidxApi(object):
|
|
292
383
|
wait_for_ready=None,
|
293
384
|
timeout=None,
|
294
385
|
metadata=None):
|
295
|
-
return grpc.experimental.unary_unary(
|
386
|
+
return grpc.experimental.unary_unary(
|
387
|
+
request,
|
388
|
+
target,
|
389
|
+
'/nidx.NidxApi/GetMetadata',
|
296
390
|
nucliadb__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
297
391
|
nucliadb__protos_dot_noderesources__pb2.NodeMetadata.FromString,
|
298
|
-
options,
|
299
|
-
|
392
|
+
options,
|
393
|
+
channel_credentials,
|
394
|
+
insecure,
|
395
|
+
call_credentials,
|
396
|
+
compression,
|
397
|
+
wait_for_ready,
|
398
|
+
timeout,
|
399
|
+
metadata,
|
400
|
+
_registered_method=True)
|
300
401
|
|
301
402
|
|
302
403
|
class NidxSearcherStub(object):
|
@@ -312,27 +413,27 @@ class NidxSearcherStub(object):
|
|
312
413
|
'/nidx.NidxSearcher/Search',
|
313
414
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SearchRequest.SerializeToString,
|
314
415
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.SearchResponse.FromString,
|
315
|
-
)
|
416
|
+
_registered_method=True)
|
316
417
|
self.GraphSearch = channel.unary_unary(
|
317
418
|
'/nidx.NidxSearcher/GraphSearch',
|
318
419
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchRequest.SerializeToString,
|
319
420
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchResponse.FromString,
|
320
|
-
)
|
421
|
+
_registered_method=True)
|
321
422
|
self.Suggest = channel.unary_unary(
|
322
423
|
'/nidx.NidxSearcher/Suggest',
|
323
424
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SuggestRequest.SerializeToString,
|
324
425
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.SuggestResponse.FromString,
|
325
|
-
)
|
426
|
+
_registered_method=True)
|
326
427
|
self.Paragraphs = channel.unary_stream(
|
327
428
|
'/nidx.NidxSearcher/Paragraphs',
|
328
429
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
329
430
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.ParagraphItem.FromString,
|
330
|
-
)
|
431
|
+
_registered_method=True)
|
331
432
|
self.Documents = channel.unary_stream(
|
332
433
|
'/nidx.NidxSearcher/Documents',
|
333
434
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
334
435
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.DocumentItem.FromString,
|
335
|
-
)
|
436
|
+
_registered_method=True)
|
336
437
|
|
337
438
|
|
338
439
|
class NidxSearcherServicer(object):
|
@@ -401,6 +502,7 @@ def add_NidxSearcherServicer_to_server(servicer, server):
|
|
401
502
|
generic_handler = grpc.method_handlers_generic_handler(
|
402
503
|
'nidx.NidxSearcher', rpc_method_handlers)
|
403
504
|
server.add_generic_rpc_handlers((generic_handler,))
|
505
|
+
server.add_registered_method_handlers('nidx.NidxSearcher', rpc_method_handlers)
|
404
506
|
|
405
507
|
|
406
508
|
# This class is part of an EXPERIMENTAL API.
|
@@ -418,11 +520,21 @@ class NidxSearcher(object):
|
|
418
520
|
wait_for_ready=None,
|
419
521
|
timeout=None,
|
420
522
|
metadata=None):
|
421
|
-
return grpc.experimental.unary_unary(
|
523
|
+
return grpc.experimental.unary_unary(
|
524
|
+
request,
|
525
|
+
target,
|
526
|
+
'/nidx.NidxSearcher/Search',
|
422
527
|
nucliadb__protos_dot_nodereader__pb2.SearchRequest.SerializeToString,
|
423
528
|
nucliadb__protos_dot_nodereader__pb2.SearchResponse.FromString,
|
424
|
-
options,
|
425
|
-
|
529
|
+
options,
|
530
|
+
channel_credentials,
|
531
|
+
insecure,
|
532
|
+
call_credentials,
|
533
|
+
compression,
|
534
|
+
wait_for_ready,
|
535
|
+
timeout,
|
536
|
+
metadata,
|
537
|
+
_registered_method=True)
|
426
538
|
|
427
539
|
@staticmethod
|
428
540
|
def GraphSearch(request,
|
@@ -435,11 +547,21 @@ class NidxSearcher(object):
|
|
435
547
|
wait_for_ready=None,
|
436
548
|
timeout=None,
|
437
549
|
metadata=None):
|
438
|
-
return grpc.experimental.unary_unary(
|
550
|
+
return grpc.experimental.unary_unary(
|
551
|
+
request,
|
552
|
+
target,
|
553
|
+
'/nidx.NidxSearcher/GraphSearch',
|
439
554
|
nucliadb__protos_dot_nodereader__pb2.GraphSearchRequest.SerializeToString,
|
440
555
|
nucliadb__protos_dot_nodereader__pb2.GraphSearchResponse.FromString,
|
441
|
-
options,
|
442
|
-
|
556
|
+
options,
|
557
|
+
channel_credentials,
|
558
|
+
insecure,
|
559
|
+
call_credentials,
|
560
|
+
compression,
|
561
|
+
wait_for_ready,
|
562
|
+
timeout,
|
563
|
+
metadata,
|
564
|
+
_registered_method=True)
|
443
565
|
|
444
566
|
@staticmethod
|
445
567
|
def Suggest(request,
|
@@ -452,11 +574,21 @@ class NidxSearcher(object):
|
|
452
574
|
wait_for_ready=None,
|
453
575
|
timeout=None,
|
454
576
|
metadata=None):
|
455
|
-
return grpc.experimental.unary_unary(
|
577
|
+
return grpc.experimental.unary_unary(
|
578
|
+
request,
|
579
|
+
target,
|
580
|
+
'/nidx.NidxSearcher/Suggest',
|
456
581
|
nucliadb__protos_dot_nodereader__pb2.SuggestRequest.SerializeToString,
|
457
582
|
nucliadb__protos_dot_nodereader__pb2.SuggestResponse.FromString,
|
458
|
-
options,
|
459
|
-
|
583
|
+
options,
|
584
|
+
channel_credentials,
|
585
|
+
insecure,
|
586
|
+
call_credentials,
|
587
|
+
compression,
|
588
|
+
wait_for_ready,
|
589
|
+
timeout,
|
590
|
+
metadata,
|
591
|
+
_registered_method=True)
|
460
592
|
|
461
593
|
@staticmethod
|
462
594
|
def Paragraphs(request,
|
@@ -469,11 +601,21 @@ class NidxSearcher(object):
|
|
469
601
|
wait_for_ready=None,
|
470
602
|
timeout=None,
|
471
603
|
metadata=None):
|
472
|
-
return grpc.experimental.unary_stream(
|
604
|
+
return grpc.experimental.unary_stream(
|
605
|
+
request,
|
606
|
+
target,
|
607
|
+
'/nidx.NidxSearcher/Paragraphs',
|
473
608
|
nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
474
609
|
nucliadb__protos_dot_nodereader__pb2.ParagraphItem.FromString,
|
475
|
-
options,
|
476
|
-
|
610
|
+
options,
|
611
|
+
channel_credentials,
|
612
|
+
insecure,
|
613
|
+
call_credentials,
|
614
|
+
compression,
|
615
|
+
wait_for_ready,
|
616
|
+
timeout,
|
617
|
+
metadata,
|
618
|
+
_registered_method=True)
|
477
619
|
|
478
620
|
@staticmethod
|
479
621
|
def Documents(request,
|
@@ -486,11 +628,21 @@ class NidxSearcher(object):
|
|
486
628
|
wait_for_ready=None,
|
487
629
|
timeout=None,
|
488
630
|
metadata=None):
|
489
|
-
return grpc.experimental.unary_stream(
|
631
|
+
return grpc.experimental.unary_stream(
|
632
|
+
request,
|
633
|
+
target,
|
634
|
+
'/nidx.NidxSearcher/Documents',
|
490
635
|
nucliadb__protos_dot_nodereader__pb2.StreamRequest.SerializeToString,
|
491
636
|
nucliadb__protos_dot_nodereader__pb2.DocumentItem.FromString,
|
492
|
-
options,
|
493
|
-
|
637
|
+
options,
|
638
|
+
channel_credentials,
|
639
|
+
insecure,
|
640
|
+
call_credentials,
|
641
|
+
compression,
|
642
|
+
wait_for_ready,
|
643
|
+
timeout,
|
644
|
+
metadata,
|
645
|
+
_registered_method=True)
|
494
646
|
|
495
647
|
|
496
648
|
class NidxIndexerStub(object):
|
@@ -506,7 +658,7 @@ class NidxIndexerStub(object):
|
|
506
658
|
'/nidx.NidxIndexer/Index',
|
507
659
|
request_serializer=nucliadb__protos_dot_nodewriter__pb2.IndexMessage.SerializeToString,
|
508
660
|
response_deserializer=nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
509
|
-
)
|
661
|
+
_registered_method=True)
|
510
662
|
|
511
663
|
|
512
664
|
class NidxIndexerServicer(object):
|
@@ -530,6 +682,7 @@ def add_NidxIndexerServicer_to_server(servicer, server):
|
|
530
682
|
generic_handler = grpc.method_handlers_generic_handler(
|
531
683
|
'nidx.NidxIndexer', rpc_method_handlers)
|
532
684
|
server.add_generic_rpc_handlers((generic_handler,))
|
685
|
+
server.add_registered_method_handlers('nidx.NidxIndexer', rpc_method_handlers)
|
533
686
|
|
534
687
|
|
535
688
|
# This class is part of an EXPERIMENTAL API.
|
@@ -547,8 +700,18 @@ class NidxIndexer(object):
|
|
547
700
|
wait_for_ready=None,
|
548
701
|
timeout=None,
|
549
702
|
metadata=None):
|
550
|
-
return grpc.experimental.unary_unary(
|
703
|
+
return grpc.experimental.unary_unary(
|
704
|
+
request,
|
705
|
+
target,
|
706
|
+
'/nidx.NidxIndexer/Index',
|
551
707
|
nucliadb__protos_dot_nodewriter__pb2.IndexMessage.SerializeToString,
|
552
708
|
nucliadb__protos_dot_nodewriter__pb2.OpStatus.FromString,
|
553
|
-
options,
|
554
|
-
|
709
|
+
options,
|
710
|
+
channel_credentials,
|
711
|
+
insecure,
|
712
|
+
call_credentials,
|
713
|
+
compression,
|
714
|
+
wait_for_ready,
|
715
|
+
timeout,
|
716
|
+
metadata,
|
717
|
+
_registered_method=True)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
+
nidx_protos-6.3.7.post4079.dist-info/METADATA,sha256=voUop2WxK4OuzGtGGrHIr2iDU1BUFM6Wi1E_n5RWQsA,716
|
3
|
+
nidx_protos-6.3.7.post4079.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
4
|
+
nidx_protos-6.3.7.post4079.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
5
|
+
nidx_protos/nidx_pb2.py,sha256=aAenXsG-pTO01UdEK12idCLa0obx3ysTFPw3npZeo1I,4799
|
6
|
+
nidx_protos/nidx_pb2.pyi,sha256=K4vW51hbt5sCd5x65HcH5qrPM6sL9Bc6LVe9qbSBAb4,1444
|
7
|
+
nidx_protos/nidx_pb2_grpc.py,sha256=LFLDGw6IFdufVbzTIIB5qs3Aamj6lSWFAmGD8S1u0w4,28638
|
8
|
+
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
+
nidx_protos-6.3.7.post4079.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
-
nidx_protos-6.3.7.post4077.dist-info/METADATA,sha256=0Jc8FJwrQZXbr4DDDKjZc1BDQF5POGdgzrjRZbPCNCc,716
|
3
|
-
nidx_protos-6.3.7.post4077.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
4
|
-
nidx_protos-6.3.7.post4077.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
5
|
-
nidx_protos/nidx_pb2.py,sha256=rilBKwaAPo-QUaf8YiQOdhi6aLBCm-Oi86PFwuBhRcg,4566
|
6
|
-
nidx_protos/nidx_pb2.pyi,sha256=K4vW51hbt5sCd5x65HcH5qrPM6sL9Bc6LVe9qbSBAb4,1444
|
7
|
-
nidx_protos/nidx_pb2_grpc.py,sha256=FLPpsunQK7uFSEfAAphIhAkyugvFWvvr9V3_V6H77h4,25300
|
8
|
-
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
-
nidx_protos-6.3.7.post4077.dist-info/RECORD,,
|
File without changes
|
{nidx_protos-6.3.7.post4077.dist-info → nidx_protos-6.3.7.post4079.dist-info}/entry_points.txt
RENAMED
File without changes
|