nidx-protos 6.3.1.post3472__py3-none-any.whl → 6.3.1.post3492__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 +4 -4
- nidx_protos/nidx_pb2_grpc.py +33 -0
- {nidx_protos-6.3.1.post3472.dist-info → nidx_protos-6.3.1.post3492.dist-info}/METADATA +1 -1
- nidx_protos-6.3.1.post3492.dist-info/RECORD +9 -0
- nidx_protos-6.3.1.post3472.dist-info/RECORD +0 -9
- {nidx_protos-6.3.1.post3472.dist-info → nidx_protos-6.3.1.post3492.dist-info}/WHEEL +0 -0
- {nidx_protos-6.3.1.post3472.dist-info → nidx_protos-6.3.1.post3492.dist-info}/entry_points.txt +0 -0
nidx_protos/nidx_pb2.py
CHANGED
@@ -36,7 +36,7 @@ except AttributeError:
|
|
36
36
|
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb_protos.utils_pb2
|
37
37
|
|
38
38
|
|
39
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnidx.proto\x12\x04nidx\x1a nucliadb_protos/nodereader.proto\x1a nucliadb_protos/nodewriter.proto\"\x92\x01\n\x0cNotification\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04kbid\x18\x04 \x01(\t\x12\r\n\x05seqid\x18\x05 \x01(\x03\x12)\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x19.nidx.Notification.Action\",\n\x06\x41\x63tion\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x0b\n\x07INDEXED\x10\x02\x32\xba\x04\n\x07NidxApi\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x46\n\x08NewShard\x12\x1b.nodewriter.NewShardRequest\x1a\x1b.noderesources.ShardCreated\"\x00\x12?\n\x0b\x44\x65leteShard\x12\x16.noderesources.ShardId\x1a\x16.noderesources.ShardId\"\x00\x12\x42\n\nListShards\x12\x19.noderesources.EmptyQuery\x1a\x17.noderesources.ShardIds\"\x00\x12G\n\x0c\x41\x64\x64VectorSet\x12\x1f.nodewriter.NewVectorSetRequest\x1a\x14.nodewriter.OpStatus\"\x00\x12\x45\n\x0fRemoveVectorSet\x12\x1a.noderesources.VectorSetID\x1a\x14.nodewriter.OpStatus\"\x00\x12H\n\x0eListVectorSets\x12\x16.noderesources.ShardId\x1a\x1c.noderesources.VectorSetList\"\x00\x12G\n\x0bGetMetadata\x12\x19.noderesources.EmptyQuery\x1a\x1b.noderesources.NodeMetadata\"\x00\x32\
|
39
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnidx.proto\x12\x04nidx\x1a nucliadb_protos/nodereader.proto\x1a nucliadb_protos/nodewriter.proto\"\x92\x01\n\x0cNotification\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04kbid\x18\x04 \x01(\t\x12\r\n\x05seqid\x18\x05 \x01(\x03\x12)\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x19.nidx.Notification.Action\",\n\x06\x41\x63tion\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x0b\n\x07INDEXED\x10\x02\x32\xba\x04\n\x07NidxApi\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x46\n\x08NewShard\x12\x1b.nodewriter.NewShardRequest\x1a\x1b.noderesources.ShardCreated\"\x00\x12?\n\x0b\x44\x65leteShard\x12\x16.noderesources.ShardId\x1a\x16.noderesources.ShardId\"\x00\x12\x42\n\nListShards\x12\x19.noderesources.EmptyQuery\x1a\x17.noderesources.ShardIds\"\x00\x12G\n\x0c\x41\x64\x64VectorSet\x12\x1f.nodewriter.NewVectorSetRequest\x1a\x14.nodewriter.OpStatus\"\x00\x12\x45\n\x0fRemoveVectorSet\x12\x1a.noderesources.VectorSetID\x1a\x14.nodewriter.OpStatus\"\x00\x12H\n\x0eListVectorSets\x12\x16.noderesources.ShardId\x1a\x1c.noderesources.VectorSetList\"\x00\x12G\n\x0bGetMetadata\x12\x19.noderesources.EmptyQuery\x1a\x1b.noderesources.NodeMetadata\"\x00\x32\xf7\x02\n\x0cNidxSearcher\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\x00\x12P\n\x0bGraphSearch\x12\x1e.nodereader.GraphSearchRequest\x1a\x1f.nodereader.GraphSearchResponse\"\x00\x12\x44\n\x07Suggest\x12\x1a.nodereader.SuggestRequest\x1a\x1b.nodereader.SuggestResponse\"\x00\x12\x46\n\nParagraphs\x12\x19.nodereader.StreamRequest\x1a\x19.nodereader.ParagraphItem\"\x00\x30\x01\x12\x44\n\tDocuments\x12\x19.nodereader.StreamRequest\x1a\x18.nodereader.DocumentItem\"\x00\x30\x01\x32H\n\x0bNidxIndexer\x12\x39\n\x05Index\x12\x18.nodewriter.IndexMessage\x1a\x14.nodewriter.OpStatus\"\x00\x62\x06proto3')
|
40
40
|
|
41
41
|
_globals = globals()
|
42
42
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -50,7 +50,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
50
50
|
_globals['_NIDXAPI']._serialized_start=238
|
51
51
|
_globals['_NIDXAPI']._serialized_end=808
|
52
52
|
_globals['_NIDXSEARCHER']._serialized_start=811
|
53
|
-
_globals['_NIDXSEARCHER']._serialized_end=
|
54
|
-
_globals['_NIDXINDEXER']._serialized_start=
|
55
|
-
_globals['_NIDXINDEXER']._serialized_end=
|
53
|
+
_globals['_NIDXSEARCHER']._serialized_end=1186
|
54
|
+
_globals['_NIDXINDEXER']._serialized_start=1188
|
55
|
+
_globals['_NIDXINDEXER']._serialized_end=1260
|
56
56
|
# @@protoc_insertion_point(module_scope)
|
nidx_protos/nidx_pb2_grpc.py
CHANGED
@@ -313,6 +313,11 @@ class NidxSearcherStub(object):
|
|
313
313
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SearchRequest.SerializeToString,
|
314
314
|
response_deserializer=nucliadb__protos_dot_nodereader__pb2.SearchResponse.FromString,
|
315
315
|
)
|
316
|
+
self.GraphSearch = channel.unary_unary(
|
317
|
+
'/nidx.NidxSearcher/GraphSearch',
|
318
|
+
request_serializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchRequest.SerializeToString,
|
319
|
+
response_deserializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchResponse.FromString,
|
320
|
+
)
|
316
321
|
self.Suggest = channel.unary_unary(
|
317
322
|
'/nidx.NidxSearcher/Suggest',
|
318
323
|
request_serializer=nucliadb__protos_dot_nodereader__pb2.SuggestRequest.SerializeToString,
|
@@ -339,6 +344,12 @@ class NidxSearcherServicer(object):
|
|
339
344
|
context.set_details('Method not implemented!')
|
340
345
|
raise NotImplementedError('Method not implemented!')
|
341
346
|
|
347
|
+
def GraphSearch(self, request, context):
|
348
|
+
"""Missing associated documentation comment in .proto file."""
|
349
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
350
|
+
context.set_details('Method not implemented!')
|
351
|
+
raise NotImplementedError('Method not implemented!')
|
352
|
+
|
342
353
|
def Suggest(self, request, context):
|
343
354
|
"""Missing associated documentation comment in .proto file."""
|
344
355
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
@@ -366,6 +377,11 @@ def add_NidxSearcherServicer_to_server(servicer, server):
|
|
366
377
|
request_deserializer=nucliadb__protos_dot_nodereader__pb2.SearchRequest.FromString,
|
367
378
|
response_serializer=nucliadb__protos_dot_nodereader__pb2.SearchResponse.SerializeToString,
|
368
379
|
),
|
380
|
+
'GraphSearch': grpc.unary_unary_rpc_method_handler(
|
381
|
+
servicer.GraphSearch,
|
382
|
+
request_deserializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchRequest.FromString,
|
383
|
+
response_serializer=nucliadb__protos_dot_nodereader__pb2.GraphSearchResponse.SerializeToString,
|
384
|
+
),
|
369
385
|
'Suggest': grpc.unary_unary_rpc_method_handler(
|
370
386
|
servicer.Suggest,
|
371
387
|
request_deserializer=nucliadb__protos_dot_nodereader__pb2.SuggestRequest.FromString,
|
@@ -408,6 +424,23 @@ class NidxSearcher(object):
|
|
408
424
|
options, channel_credentials,
|
409
425
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
410
426
|
|
427
|
+
@staticmethod
|
428
|
+
def GraphSearch(request,
|
429
|
+
target,
|
430
|
+
options=(),
|
431
|
+
channel_credentials=None,
|
432
|
+
call_credentials=None,
|
433
|
+
insecure=False,
|
434
|
+
compression=None,
|
435
|
+
wait_for_ready=None,
|
436
|
+
timeout=None,
|
437
|
+
metadata=None):
|
438
|
+
return grpc.experimental.unary_unary(request, target, '/nidx.NidxSearcher/GraphSearch',
|
439
|
+
nucliadb__protos_dot_nodereader__pb2.GraphSearchRequest.SerializeToString,
|
440
|
+
nucliadb__protos_dot_nodereader__pb2.GraphSearchResponse.FromString,
|
441
|
+
options, channel_credentials,
|
442
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
443
|
+
|
411
444
|
@staticmethod
|
412
445
|
def Suggest(request,
|
413
446
|
target,
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
+
nidx_protos-6.3.1.post3492.dist-info/METADATA,sha256=8U5In4RJuNbfEOjdkTaRFNUsPVYVS5RQtpwZbImgT80,716
|
3
|
+
nidx_protos-6.3.1.post3492.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
4
|
+
nidx_protos-6.3.1.post3492.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.1.post3492.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
-
nidx_protos-6.3.1.post3472.dist-info/METADATA,sha256=bML3WC8vhaPMY3elPuFmQ1pEHX8hZxJzOniiM7twsU0,716
|
3
|
-
nidx_protos-6.3.1.post3472.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
4
|
-
nidx_protos-6.3.1.post3472.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
5
|
-
nidx_protos/nidx_pb2.py,sha256=RVz5peYJ6NZBuW5amGVjIDSyvOZtd5a5SAaUVjbFgks,4461
|
6
|
-
nidx_protos/nidx_pb2.pyi,sha256=K4vW51hbt5sCd5x65HcH5qrPM6sL9Bc6LVe9qbSBAb4,1444
|
7
|
-
nidx_protos/nidx_pb2_grpc.py,sha256=6yJ5jvvFGNgq5S0-rKnWWHdKgaN7kqOXYKzLIjIi_Sg,23628
|
8
|
-
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
-
nidx_protos-6.3.1.post3472.dist-info/RECORD,,
|
File without changes
|
{nidx_protos-6.3.1.post3472.dist-info → nidx_protos-6.3.1.post3492.dist-info}/entry_points.txt
RENAMED
File without changes
|