nidx-protos 6.2.1.post3247__py2.py3-none-any.whl → 6.2.1.post3253__py2.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 +11 -7
- nidx_protos/nidx_pb2.pyi +23 -1
- {nidx_protos-6.2.1.post3247.dist-info → nidx_protos-6.2.1.post3253.dist-info}/METADATA +1 -1
- nidx_protos-6.2.1.post3253.dist-info/RECORD +9 -0
- nidx_protos-6.2.1.post3247.dist-info/RECORD +0 -9
- {nidx_protos-6.2.1.post3247.dist-info → nidx_protos-6.2.1.post3253.dist-info}/WHEEL +0 -0
- {nidx_protos-6.2.1.post3247.dist-info → nidx_protos-6.2.1.post3253.dist-info}/entry_points.txt +0 -0
nidx_protos/nidx_pb2.py
CHANGED
@@ -36,17 +36,21 @@ 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.
|
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\xa5\x02\n\x0cNidxSearcher\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\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)
|
43
43
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nidx_pb2', _globals)
|
44
44
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
45
45
|
DESCRIPTOR._options = None
|
46
|
-
_globals['
|
47
|
-
_globals['
|
48
|
-
_globals['
|
49
|
-
_globals['
|
50
|
-
_globals['
|
51
|
-
_globals['
|
46
|
+
_globals['_NOTIFICATION']._serialized_start=89
|
47
|
+
_globals['_NOTIFICATION']._serialized_end=235
|
48
|
+
_globals['_NOTIFICATION_ACTION']._serialized_start=191
|
49
|
+
_globals['_NOTIFICATION_ACTION']._serialized_end=235
|
50
|
+
_globals['_NIDXAPI']._serialized_start=238
|
51
|
+
_globals['_NIDXAPI']._serialized_end=808
|
52
|
+
_globals['_NIDXSEARCHER']._serialized_start=811
|
53
|
+
_globals['_NIDXSEARCHER']._serialized_end=1104
|
54
|
+
_globals['_NIDXINDEXER']._serialized_start=1106
|
55
|
+
_globals['_NIDXINDEXER']._serialized_end=1178
|
52
56
|
# @@protoc_insertion_point(module_scope)
|
nidx_protos/nidx_pb2.pyi
CHANGED
@@ -3,7 +3,29 @@ from nucliadb_protos import noderesources_pb2 as _noderesources_pb2
|
|
3
3
|
from nucliadb_protos import utils_pb2 as _utils_pb2
|
4
4
|
from nucliadb_protos import nodewriter_pb2 as _nodewriter_pb2
|
5
5
|
from nucliadb_protos import noderesources_pb2 as _noderesources_pb2_1
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
7
|
-
from
|
8
|
+
from google.protobuf import message as _message
|
9
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
8
10
|
|
9
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
12
|
+
|
13
|
+
class Notification(_message.Message):
|
14
|
+
__slots__ = ("uuid", "kbid", "seqid", "action")
|
15
|
+
class Action(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
16
|
+
__slots__ = ()
|
17
|
+
COMMIT: _ClassVar[Notification.Action]
|
18
|
+
ABORT: _ClassVar[Notification.Action]
|
19
|
+
INDEXED: _ClassVar[Notification.Action]
|
20
|
+
COMMIT: Notification.Action
|
21
|
+
ABORT: Notification.Action
|
22
|
+
INDEXED: Notification.Action
|
23
|
+
UUID_FIELD_NUMBER: _ClassVar[int]
|
24
|
+
KBID_FIELD_NUMBER: _ClassVar[int]
|
25
|
+
SEQID_FIELD_NUMBER: _ClassVar[int]
|
26
|
+
ACTION_FIELD_NUMBER: _ClassVar[int]
|
27
|
+
uuid: str
|
28
|
+
kbid: str
|
29
|
+
seqid: int
|
30
|
+
action: Notification.Action
|
31
|
+
def __init__(self, uuid: _Optional[str] = ..., kbid: _Optional[str] = ..., seqid: _Optional[int] = ..., action: _Optional[_Union[Notification.Action, str]] = ...) -> None: ...
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
+
nidx_protos-6.2.1.post3253.dist-info/METADATA,sha256=6lJHrP4DcUa3rQ2THLwN_W02nke84SRCeOqAcPlkU-I,65
|
3
|
+
nidx_protos-6.2.1.post3253.dist-info/WHEEL,sha256=rsbISUvAUcl4HUjm1gKb_L9aoizBeGE4RqNs1UJntCA,94
|
4
|
+
nidx_protos-6.2.1.post3253.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.2.1.post3253.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
2
|
-
nidx_protos-6.2.1.post3247.dist-info/METADATA,sha256=FDZ75mooD3gOiUFogph6o4b0MG-vGk9uyJKgHWta2Ig,65
|
3
|
-
nidx_protos-6.2.1.post3247.dist-info/WHEEL,sha256=rsbISUvAUcl4HUjm1gKb_L9aoizBeGE4RqNs1UJntCA,94
|
4
|
-
nidx_protos-6.2.1.post3247.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
5
|
-
nidx_protos/nidx_pb2.py,sha256=UrBsBG0cKPsvfJMzmbxFSmjSnLKIKRxj_ZRPnih5xu4,3931
|
6
|
-
nidx_protos/nidx_pb2.pyi,sha256=XteNW6x4XQha6HbtrE5bJ93e20dlKc7OfkbPXp0dQTE,449
|
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.2.1.post3247.dist-info/RECORD,,
|
File without changes
|
{nidx_protos-6.2.1.post3247.dist-info → nidx_protos-6.2.1.post3253.dist-info}/entry_points.txt
RENAMED
File without changes
|