nidx-protos 6.9.7.post5559__py3-none-any.whl → 6.9.7.post5611__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.
Potentially problematic release.
This version of nidx-protos might be problematic. Click here for more details.
- nidx_protos/noderesources_pb2.py +57 -65
- nidx_protos/noderesources_pb2.pyi +5 -76
- {nidx_protos-6.9.7.post5559.dist-info → nidx_protos-6.9.7.post5611.dist-info}/METADATA +1 -1
- {nidx_protos-6.9.7.post5559.dist-info → nidx_protos-6.9.7.post5611.dist-info}/RECORD +6 -6
- {nidx_protos-6.9.7.post5559.dist-info → nidx_protos-6.9.7.post5611.dist-info}/WHEEL +0 -0
- {nidx_protos-6.9.7.post5559.dist-info → nidx_protos-6.9.7.post5611.dist-info}/entry_points.txt +0 -0
nidx_protos/noderesources_pb2.py
CHANGED
|
@@ -27,7 +27,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
|
27
27
|
|
|
28
28
|
from nucliadb_protos.utils_pb2 import *
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_protos/noderesources.proto\x12\rnoderesources\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"/\n\x0fTextInformation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\"j\n\rIndexMetadata\x12,\n\x08modified\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x15\n\x07ShardId\x12\n\n\x02id\x18\x01 \x01(\t\"/\n\x08ShardIds\x12#\n\x03ids\x18\x01 \x03(\x0b\x32\x16.noderesources.ShardId\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnidx_protos/noderesources.proto\x12\rnoderesources\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"/\n\x0fTextInformation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\"j\n\rIndexMetadata\x12,\n\x08modified\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x15\n\x07ShardId\x12\n\n\x02id\x18\x01 \x01(\t\"/\n\x08ShardIds\x12#\n\x03ids\x18\x01 \x03(\x0b\x32\x16.noderesources.ShardId\"2\n\x0cShardCreated\x12\n\n\x02id\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06\",\n\nResourceID\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\x94\x01\n\x05Shard\x12.\n\x08metadata\x18\x05 \x01(\x0b\x32\x1c.noderesources.ShardMetadata\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ields\x18\x02 \x01(\x04\x12\x12\n\nparagraphs\x18\x03 \x01(\x04\x12\x11\n\tsentences\x18\x04 \x01(\x04\x12\x12\n\nsize_bytes\x18\x06 \x01(\x04\"\x0c\n\nEmptyQuery\"\x87\x01\n\x08Position\x12\r\n\x05index\x18\x01 \x01(\x04\x12\r\n\x05start\x18\x02 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x04\x12\x13\n\x0bpage_number\x18\x04 \x01(\x04\x12\x0f\n\x07in_page\x18\x07 \x01(\x08\x12\x15\n\rstart_seconds\x18\x05 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x06 \x03(\r\"2\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x0c\n\x04\x66ile\x18\x02 \x01(\t\"\x8e\x01\n\x10SentenceMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"S\n\x0eVectorSentence\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x31\n\x08metadata\x18\t \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\"\xaa\x01\n\x12VectorsetSentences\x12\x43\n\tsentences\x18\x01 \x03(\x0b\x32\x30.noderesources.VectorsetSentences.SentencesEntry\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\"\x8f\x01\n\x11ParagraphMetadata\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.noderesources.Position\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\x12\x35\n\x0erepresentation\x18\x03 \x01(\x0b\x32\x1d.noderesources.Representation\"\xff\x03\n\x0eIndexParagraph\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0e\n\x06labels\x18\x03 \x03(\t\x12?\n\tsentences\x18\x04 \x03(\x0b\x32,.noderesources.IndexParagraph.SentencesEntry\x12T\n\x14vectorsets_sentences\x18\n \x03(\x0b\x32\x36.noderesources.IndexParagraph.VectorsetsSentencesEntry\x12\r\n\x05\x66ield\x18\x05 \x01(\t\x12\r\n\x05split\x18\x06 \x01(\t\x12\r\n\x05index\x18\x07 \x01(\x04\x12\x19\n\x11repeated_in_field\x18\x08 \x01(\x08\x12\x32\n\x08metadata\x18\t \x01(\x0b\x32 .noderesources.ParagraphMetadata\x1aO\n\x0eSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.VectorSentence:\x02\x38\x01\x1a]\n\x18VectorsetsSentencesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.noderesources.VectorsetSentences:\x02\x38\x01\"G\n\x0bVectorSetID\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"J\n\rVectorSetList\x12%\n\x05shard\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x12\n\nvectorsets\x18\x02 \x03(\t\"\xa7\x01\n\x0fIndexParagraphs\x12\x42\n\nparagraphs\x18\x01 \x03(\x0b\x32..noderesources.IndexParagraphs.ParagraphsEntry\x1aP\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexParagraph:\x02\x38\x01\"\xff\x08\n\x08Resource\x12+\n\x08resource\x18\x01 \x01(\x0b\x32\x19.noderesources.ResourceID\x12.\n\x08metadata\x18\x02 \x01(\x0b\x32\x1c.noderesources.IndexMetadata\x12\x31\n\x05texts\x18\x03 \x03(\x0b\x32\".noderesources.Resource.TextsEntry\x12\x0e\n\x06labels\x18\x04 \x03(\t\x12\x36\n\x06status\x18\x05 \x01(\x0e\x32&.noderesources.Resource.ResourceStatus\x12;\n\nparagraphs\x18\x06 \x03(\x0b\x32\'.noderesources.Resource.ParagraphsEntry\x12\x1c\n\x14paragraphs_to_delete\x18\x07 \x03(\t\x12+\n#vectors_to_delete_in_all_vectorsets\x18\x08 \x03(\t\x12V\n\x19vector_prefixes_to_delete\x18\x0f \x03(\x0b\x32\x33.noderesources.Resource.VectorPrefixesToDeleteEntry\x12!\n\x19relation_fields_to_delete\x18\x10 \x03(\t\x12\x17\n\x0ftexts_to_delete\x18\x11 \x03(\t\x12\x44\n\x0f\x66ield_relations\x18\n \x03(\x0b\x32+.noderesources.Resource.FieldRelationsEntry\x12\x10\n\x08shard_id\x18\x0b \x01(\t\x12&\n\x08security\x18\x0e \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x12\n\nskip_texts\x18\x12 \x01(\x08\x12\x17\n\x0fskip_paragraphs\x18\x13 \x01(\x08\x1aL\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.TextInformation:\x02\x38\x01\x1aQ\n\x0fParagraphsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.noderesources.IndexParagraphs:\x02\x38\x01\x1aX\n\x1bVectorPrefixesToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.noderesources.StringList:\x02\x38\x01\x1aT\n\x13\x46ieldRelationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.noderesources.IndexRelations:\x02\x38\x01\"h\n\x0eResourceStatus\x12\r\n\tPROCESSED\x10\x00\x12\t\n\x05\x45MPTY\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07\x42LOCKED\x10\x05\x12\x0b\n\x07\x45XPIRED\x10\x06\x42\x0b\n\t_securityJ\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0e\"#\n\rShardMetadata\x12\x0c\n\x04kbid\x18\x01 \x01(\tJ\x04\x08\x02\x10\x03\"\x1b\n\nStringList\x12\r\n\x05items\x18\x01 \x03(\t\"x\n\rIndexRelation\x12!\n\x08relation\x18\x01 \x01(\x0b\x32\x0f.utils.Relation\x12\x1e\n\x11resource_field_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\tB\x14\n\x12_resource_field_id\"A\n\x0eIndexRelations\x12/\n\trelations\x18\x01 \x03(\x0b\x32\x1c.noderesources.IndexRelationP\x01\x62\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -58,68 +58,60 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
58
58
|
_globals['_SHARDID']._serialized_end=290
|
|
59
59
|
_globals['_SHARDIDS']._serialized_start=292
|
|
60
60
|
_globals['_SHARDIDS']._serialized_end=339
|
|
61
|
-
_globals['_SHARDCREATED']._serialized_start=
|
|
62
|
-
_globals['_SHARDCREATED']._serialized_end=
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['_SHARDMETADATA']._serialized_start=3885
|
|
118
|
-
_globals['_SHARDMETADATA']._serialized_end=3920
|
|
119
|
-
_globals['_STRINGLIST']._serialized_start=3922
|
|
120
|
-
_globals['_STRINGLIST']._serialized_end=3949
|
|
121
|
-
_globals['_INDEXRELATION']._serialized_start=3951
|
|
122
|
-
_globals['_INDEXRELATION']._serialized_end=4071
|
|
123
|
-
_globals['_INDEXRELATIONS']._serialized_start=4073
|
|
124
|
-
_globals['_INDEXRELATIONS']._serialized_end=4138
|
|
61
|
+
_globals['_SHARDCREATED']._serialized_start=341
|
|
62
|
+
_globals['_SHARDCREATED']._serialized_end=391
|
|
63
|
+
_globals['_RESOURCEID']._serialized_start=393
|
|
64
|
+
_globals['_RESOURCEID']._serialized_end=437
|
|
65
|
+
_globals['_SHARD']._serialized_start=440
|
|
66
|
+
_globals['_SHARD']._serialized_end=588
|
|
67
|
+
_globals['_EMPTYQUERY']._serialized_start=590
|
|
68
|
+
_globals['_EMPTYQUERY']._serialized_end=602
|
|
69
|
+
_globals['_POSITION']._serialized_start=605
|
|
70
|
+
_globals['_POSITION']._serialized_end=740
|
|
71
|
+
_globals['_REPRESENTATION']._serialized_start=742
|
|
72
|
+
_globals['_REPRESENTATION']._serialized_end=792
|
|
73
|
+
_globals['_SENTENCEMETADATA']._serialized_start=795
|
|
74
|
+
_globals['_SENTENCEMETADATA']._serialized_end=937
|
|
75
|
+
_globals['_VECTORSENTENCE']._serialized_start=939
|
|
76
|
+
_globals['_VECTORSENTENCE']._serialized_end=1022
|
|
77
|
+
_globals['_VECTORSETSENTENCES']._serialized_start=1025
|
|
78
|
+
_globals['_VECTORSETSENTENCES']._serialized_end=1195
|
|
79
|
+
_globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_start=1116
|
|
80
|
+
_globals['_VECTORSETSENTENCES_SENTENCESENTRY']._serialized_end=1195
|
|
81
|
+
_globals['_PARAGRAPHMETADATA']._serialized_start=1198
|
|
82
|
+
_globals['_PARAGRAPHMETADATA']._serialized_end=1341
|
|
83
|
+
_globals['_INDEXPARAGRAPH']._serialized_start=1344
|
|
84
|
+
_globals['_INDEXPARAGRAPH']._serialized_end=1855
|
|
85
|
+
_globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_start=1116
|
|
86
|
+
_globals['_INDEXPARAGRAPH_SENTENCESENTRY']._serialized_end=1195
|
|
87
|
+
_globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_start=1762
|
|
88
|
+
_globals['_INDEXPARAGRAPH_VECTORSETSSENTENCESENTRY']._serialized_end=1855
|
|
89
|
+
_globals['_VECTORSETID']._serialized_start=1857
|
|
90
|
+
_globals['_VECTORSETID']._serialized_end=1928
|
|
91
|
+
_globals['_VECTORSETLIST']._serialized_start=1930
|
|
92
|
+
_globals['_VECTORSETLIST']._serialized_end=2004
|
|
93
|
+
_globals['_INDEXPARAGRAPHS']._serialized_start=2007
|
|
94
|
+
_globals['_INDEXPARAGRAPHS']._serialized_end=2174
|
|
95
|
+
_globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_start=2094
|
|
96
|
+
_globals['_INDEXPARAGRAPHS_PARAGRAPHSENTRY']._serialized_end=2174
|
|
97
|
+
_globals['_RESOURCE']._serialized_start=2177
|
|
98
|
+
_globals['_RESOURCE']._serialized_end=3328
|
|
99
|
+
_globals['_RESOURCE_TEXTSENTRY']._serialized_start=2862
|
|
100
|
+
_globals['_RESOURCE_TEXTSENTRY']._serialized_end=2938
|
|
101
|
+
_globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_start=2940
|
|
102
|
+
_globals['_RESOURCE_PARAGRAPHSENTRY']._serialized_end=3021
|
|
103
|
+
_globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_start=3023
|
|
104
|
+
_globals['_RESOURCE_VECTORPREFIXESTODELETEENTRY']._serialized_end=3111
|
|
105
|
+
_globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_start=3113
|
|
106
|
+
_globals['_RESOURCE_FIELDRELATIONSENTRY']._serialized_end=3197
|
|
107
|
+
_globals['_RESOURCE_RESOURCESTATUS']._serialized_start=3199
|
|
108
|
+
_globals['_RESOURCE_RESOURCESTATUS']._serialized_end=3303
|
|
109
|
+
_globals['_SHARDMETADATA']._serialized_start=3330
|
|
110
|
+
_globals['_SHARDMETADATA']._serialized_end=3365
|
|
111
|
+
_globals['_STRINGLIST']._serialized_start=3367
|
|
112
|
+
_globals['_STRINGLIST']._serialized_end=3394
|
|
113
|
+
_globals['_INDEXRELATION']._serialized_start=3396
|
|
114
|
+
_globals['_INDEXRELATION']._serialized_end=3516
|
|
115
|
+
_globals['_INDEXRELATIONS']._serialized_start=3518
|
|
116
|
+
_globals['_INDEXRELATIONS']._serialized_end=3583
|
|
125
117
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -117,88 +117,14 @@ global___ShardIds = ShardIds
|
|
|
117
117
|
class ShardCreated(google.protobuf.message.Message):
|
|
118
118
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
119
119
|
|
|
120
|
-
class _DocumentService:
|
|
121
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
122
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
123
|
-
|
|
124
|
-
class _DocumentServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._DocumentService.ValueType], builtins.type):
|
|
125
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
126
|
-
DOCUMENT_V0: ShardCreated._DocumentService.ValueType # 0
|
|
127
|
-
DOCUMENT_V1: ShardCreated._DocumentService.ValueType # 1
|
|
128
|
-
DOCUMENT_V2: ShardCreated._DocumentService.ValueType # 2
|
|
129
|
-
DOCUMENT_V3: ShardCreated._DocumentService.ValueType # 3
|
|
130
|
-
|
|
131
|
-
class DocumentService(_DocumentService, metaclass=_DocumentServiceEnumTypeWrapper): ...
|
|
132
|
-
DOCUMENT_V0: ShardCreated.DocumentService.ValueType # 0
|
|
133
|
-
DOCUMENT_V1: ShardCreated.DocumentService.ValueType # 1
|
|
134
|
-
DOCUMENT_V2: ShardCreated.DocumentService.ValueType # 2
|
|
135
|
-
DOCUMENT_V3: ShardCreated.DocumentService.ValueType # 3
|
|
136
|
-
|
|
137
|
-
class _ParagraphService:
|
|
138
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
139
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
140
|
-
|
|
141
|
-
class _ParagraphServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._ParagraphService.ValueType], builtins.type):
|
|
142
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
143
|
-
PARAGRAPH_V0: ShardCreated._ParagraphService.ValueType # 0
|
|
144
|
-
PARAGRAPH_V1: ShardCreated._ParagraphService.ValueType # 1
|
|
145
|
-
PARAGRAPH_V2: ShardCreated._ParagraphService.ValueType # 2
|
|
146
|
-
PARAGRAPH_V3: ShardCreated._ParagraphService.ValueType # 3
|
|
147
|
-
|
|
148
|
-
class ParagraphService(_ParagraphService, metaclass=_ParagraphServiceEnumTypeWrapper): ...
|
|
149
|
-
PARAGRAPH_V0: ShardCreated.ParagraphService.ValueType # 0
|
|
150
|
-
PARAGRAPH_V1: ShardCreated.ParagraphService.ValueType # 1
|
|
151
|
-
PARAGRAPH_V2: ShardCreated.ParagraphService.ValueType # 2
|
|
152
|
-
PARAGRAPH_V3: ShardCreated.ParagraphService.ValueType # 3
|
|
153
|
-
|
|
154
|
-
class _VectorService:
|
|
155
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
156
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
157
|
-
|
|
158
|
-
class _VectorServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._VectorService.ValueType], builtins.type):
|
|
159
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
160
|
-
VECTOR_V0: ShardCreated._VectorService.ValueType # 0
|
|
161
|
-
VECTOR_V1: ShardCreated._VectorService.ValueType # 1
|
|
162
|
-
|
|
163
|
-
class VectorService(_VectorService, metaclass=_VectorServiceEnumTypeWrapper): ...
|
|
164
|
-
VECTOR_V0: ShardCreated.VectorService.ValueType # 0
|
|
165
|
-
VECTOR_V1: ShardCreated.VectorService.ValueType # 1
|
|
166
|
-
|
|
167
|
-
class _RelationService:
|
|
168
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
169
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
170
|
-
|
|
171
|
-
class _RelationServiceEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShardCreated._RelationService.ValueType], builtins.type):
|
|
172
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
173
|
-
RELATION_V0: ShardCreated._RelationService.ValueType # 0
|
|
174
|
-
RELATION_V1: ShardCreated._RelationService.ValueType # 1
|
|
175
|
-
RELATION_V2: ShardCreated._RelationService.ValueType # 2
|
|
176
|
-
|
|
177
|
-
class RelationService(_RelationService, metaclass=_RelationServiceEnumTypeWrapper): ...
|
|
178
|
-
RELATION_V0: ShardCreated.RelationService.ValueType # 0
|
|
179
|
-
RELATION_V1: ShardCreated.RelationService.ValueType # 1
|
|
180
|
-
RELATION_V2: ShardCreated.RelationService.ValueType # 2
|
|
181
|
-
|
|
182
120
|
ID_FIELD_NUMBER: builtins.int
|
|
183
|
-
DOCUMENT_SERVICE_FIELD_NUMBER: builtins.int
|
|
184
|
-
PARAGRAPH_SERVICE_FIELD_NUMBER: builtins.int
|
|
185
|
-
VECTOR_SERVICE_FIELD_NUMBER: builtins.int
|
|
186
|
-
RELATION_SERVICE_FIELD_NUMBER: builtins.int
|
|
187
121
|
id: builtins.str
|
|
188
|
-
document_service: global___ShardCreated.DocumentService.ValueType
|
|
189
|
-
paragraph_service: global___ShardCreated.ParagraphService.ValueType
|
|
190
|
-
vector_service: global___ShardCreated.VectorService.ValueType
|
|
191
|
-
relation_service: global___ShardCreated.RelationService.ValueType
|
|
192
122
|
def __init__(
|
|
193
123
|
self,
|
|
194
124
|
*,
|
|
195
125
|
id: builtins.str = ...,
|
|
196
|
-
document_service: global___ShardCreated.DocumentService.ValueType = ...,
|
|
197
|
-
paragraph_service: global___ShardCreated.ParagraphService.ValueType = ...,
|
|
198
|
-
vector_service: global___ShardCreated.VectorService.ValueType = ...,
|
|
199
|
-
relation_service: global___ShardCreated.RelationService.ValueType = ...,
|
|
200
126
|
) -> None: ...
|
|
201
|
-
def ClearField(self, field_name: typing.Literal["
|
|
127
|
+
def ClearField(self, field_name: typing.Literal["id", b"id"]) -> None: ...
|
|
202
128
|
|
|
203
129
|
global___ShardCreated = ShardCreated
|
|
204
130
|
|
|
@@ -277,7 +203,10 @@ class Position(google.protobuf.message.Message):
|
|
|
277
203
|
start: builtins.int
|
|
278
204
|
end: builtins.int
|
|
279
205
|
page_number: builtins.int
|
|
280
|
-
"""For pdfs/documents only
|
|
206
|
+
"""For pdfs/documents only
|
|
207
|
+
FIXME: this should be an optional, otherwise the Python bindings always
|
|
208
|
+
output a default page 0, false information in most of the cases
|
|
209
|
+
"""
|
|
281
210
|
in_page: builtins.bool
|
|
282
211
|
@property
|
|
283
212
|
def start_seconds(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
|
2
|
-
nidx_protos-6.9.7.
|
|
3
|
-
nidx_protos-6.9.7.
|
|
4
|
-
nidx_protos-6.9.7.
|
|
2
|
+
nidx_protos-6.9.7.post5611.dist-info/METADATA,sha256=AuASaLwF3Yvfnq2bZpROpu-Uf0T-hGmcwdTA5z2foss,798
|
|
3
|
+
nidx_protos-6.9.7.post5611.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
|
|
4
|
+
nidx_protos-6.9.7.post5611.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
5
5
|
nidx_protos/nidx_pb2.py,sha256=HlgiGIeAE8oPZksy3DD3OWjDcxwhubCLLENuPfLrEqM,5145
|
|
6
6
|
nidx_protos/nidx_pb2.pyi,sha256=PBfwmt-_ox4zu1oURkAnELc8w4WPjSt4yJXL-_1JutI,3368
|
|
7
7
|
nidx_protos/nidx_pb2_grpc.py,sha256=--MhbAbsJLb6hZOyQ4yje4CzK-bbPS5JMg9ecIgeWFI,28353
|
|
8
8
|
nidx_protos/nodereader_pb2.py,sha256=YkyJnejcHBDN-jxF-FJzgW3wSAWiVEtLLqZ-m28Bh4g,20641
|
|
9
9
|
nidx_protos/nodereader_pb2.pyi,sha256=aj8Z-YHc9Q3ePaMD_qESSq1gg_WuJqcWbgdvs2PbnIo,61012
|
|
10
|
-
nidx_protos/noderesources_pb2.py,sha256=
|
|
11
|
-
nidx_protos/noderesources_pb2.pyi,sha256=
|
|
10
|
+
nidx_protos/noderesources_pb2.py,sha256=f0hVUlkICgFraqpWZn24eCcslPgIK2lpbDHipaDPZ-0,12061
|
|
11
|
+
nidx_protos/noderesources_pb2.pyi,sha256=AbDoGXCcKEd3P3ngpVXhnav_IEoua9yk-pT9EfZKL5Y,31045
|
|
12
12
|
nidx_protos/nodewriter_pb2.py,sha256=kq_8pkPQzEM68ldytycYj-UftX6nQaHxGJgxL-7xV04,4811
|
|
13
13
|
nidx_protos/nodewriter_pb2.pyi,sha256=6PxeOCwnZ0xqzLWgJVtZKUdoLsFJPZecjsQ99deJh54,10196
|
|
14
14
|
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
nidx_protos-6.9.7.
|
|
15
|
+
nidx_protos-6.9.7.post5611.dist-info/RECORD,,
|
|
File without changes
|
{nidx_protos-6.9.7.post5559.dist-info → nidx_protos-6.9.7.post5611.dist-info}/entry_points.txt
RENAMED
|
File without changes
|