nucliadb-protos 6.3.1.post3571__py3-none-any.whl → 6.3.1.post3574__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 nucliadb-protos might be problematic. Click here for more details.
- nucliadb_protos/utils_pb2.py +40 -40
- nucliadb_protos/utils_pb2.pyi +6 -2
- {nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/METADATA +1 -1
- {nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/RECORD +6 -6
- {nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/top_level.txt +0 -0
nucliadb_protos/utils_pb2.py
CHANGED
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/utils.proto\x12\x05utils\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/utils.proto\x12\x05utils\"\xc2\x02\n\x08Relation\x12#\n\x06source\x18\x06 \x01(\x0b\x32\x13.utils.RelationNode\x12\x1f\n\x02to\x18\x07 \x01(\x0b\x32\x13.utils.RelationNode\x12.\n\x08relation\x18\x05 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x16\n\x0erelation_label\x18\x08 \x01(\t\x12)\n\x08metadata\x18\t \x01(\x0b\x32\x17.utils.RelationMetadata\x12\x18\n\x0bresource_id\x18\n \x01(\tH\x00\x88\x01\x01\"S\n\x0cRelationType\x12\t\n\x05\x43HILD\x10\x00\x12\t\n\x05\x41\x42OUT\x10\x01\x12\n\n\x06\x45NTITY\x10\x02\x12\t\n\x05\x43OLAB\x10\x03\x12\x0b\n\x07SYNONYM\x10\x04\x12\t\n\x05OTHER\x10\x05\x42\x0e\n\x0c_resource_id\"\x9c\x02\n\x10RelationMetadata\x12\x19\n\x0cparagraph_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0csource_start\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x17\n\nsource_end\x18\x03 \x01(\x05H\x02\x88\x01\x01\x12\x15\n\x08to_start\x18\x04 \x01(\x05H\x03\x88\x01\x01\x12\x13\n\x06to_end\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12&\n\x19\x64\x61ta_augmentation_task_id\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0f\n\r_paragraph_idB\x0f\n\r_source_startB\r\n\x0b_source_endB\x0b\n\t_to_startB\t\n\x07_to_endB\x1c\n\x1a_data_augmentation_task_id\"\x96\x01\n\x0cRelationNode\x12\r\n\x05value\x18\x04 \x01(\t\x12+\n\x05ntype\x18\x05 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x0f\n\x07subtype\x18\x06 \x01(\t\"9\n\x08NodeType\x12\n\n\x06\x45NTITY\x10\x00\x12\t\n\x05LABEL\x10\x01\x12\x0c\n\x08RESOURCE\x10\x02\x12\x08\n\x04USER\x10\x03\"\xa0\x01\n\rExtractedText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x37\n\nsplit_text\x18\x02 \x03(\x0b\x32#.utils.ExtractedText.SplitTextEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x30\n\x0eSplitTextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"d\n\x06Vector\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x17\n\x0fstart_paragraph\x18\x03 \x01(\x05\x12\x15\n\rend_paragraph\x18\x04 \x01(\x05\x12\x0e\n\x06vector\x18\x05 \x03(\x02\")\n\x07Vectors\x12\x1e\n\x07vectors\x18\x01 \x03(\x0b\x32\r.utils.Vector\"\xca\x01\n\x0cVectorObject\x12\x1f\n\x07vectors\x18\x01 \x01(\x0b\x32\x0e.utils.Vectors\x12<\n\rsplit_vectors\x18\x02 \x03(\x0b\x32%.utils.VectorObject.SplitVectorsEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x43\n\x11SplitVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.utils.Vectors:\x02\x38\x01\"H\n\nUserVector\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x0e\n\x06labels\x18\x02 \x03(\t\x12\r\n\x05start\x18\x03 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x05\"\x82\x01\n\x0bUserVectors\x12\x30\n\x07vectors\x18\x01 \x03(\x0b\x32\x1f.utils.UserVectors.VectorsEntry\x1a\x41\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.utils.UserVector:\x02\x38\x01\"\x87\x01\n\rUserVectorSet\x12\x32\n\x07vectors\x18\x01 \x03(\x0b\x32!.utils.UserVectorSet.VectorsEntry\x1a\x42\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.utils.UserVectors:\x02\x38\x01\"\"\n\x0fUserVectorsList\x12\x0f\n\x07vectors\x18\x01 \x03(\t\"!\n\x08Security\x12\x15\n\raccess_groups\x18\x01 \x03(\t*\'\n\x10VectorSimilarity\x12\n\n\x06\x43OSINE\x10\x00\x12\x07\n\x03\x44OT\x10\x01*.\n\x0eReleaseChannel\x12\n\n\x06STABLE\x10\x00\x12\x10\n\x0c\x45XPERIMENTAL\x10\x01\x62\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,44 +29,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
29
|
_globals['_USERVECTORS_VECTORSENTRY']._serialized_options = b'8\001'
|
|
30
30
|
_globals['_USERVECTORSET_VECTORSENTRY']._options = None
|
|
31
31
|
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_options = b'8\001'
|
|
32
|
-
_globals['_VECTORSIMILARITY']._serialized_start=
|
|
33
|
-
_globals['_VECTORSIMILARITY']._serialized_end=
|
|
34
|
-
_globals['_RELEASECHANNEL']._serialized_start=
|
|
35
|
-
_globals['_RELEASECHANNEL']._serialized_end=
|
|
32
|
+
_globals['_VECTORSIMILARITY']._serialized_start=1732
|
|
33
|
+
_globals['_VECTORSIMILARITY']._serialized_end=1771
|
|
34
|
+
_globals['_RELEASECHANNEL']._serialized_start=1773
|
|
35
|
+
_globals['_RELEASECHANNEL']._serialized_end=1819
|
|
36
36
|
_globals['_RELATION']._serialized_start=39
|
|
37
|
-
_globals['_RELATION']._serialized_end=
|
|
38
|
-
_globals['_RELATION_RELATIONTYPE']._serialized_start=
|
|
39
|
-
_globals['_RELATION_RELATIONTYPE']._serialized_end=
|
|
40
|
-
_globals['_RELATIONMETADATA']._serialized_start=
|
|
41
|
-
_globals['_RELATIONMETADATA']._serialized_end=
|
|
42
|
-
_globals['_RELATIONNODE']._serialized_start=
|
|
43
|
-
_globals['_RELATIONNODE']._serialized_end=
|
|
44
|
-
_globals['_RELATIONNODE_NODETYPE']._serialized_start=
|
|
45
|
-
_globals['_RELATIONNODE_NODETYPE']._serialized_end=
|
|
46
|
-
_globals['_EXTRACTEDTEXT']._serialized_start=
|
|
47
|
-
_globals['_EXTRACTEDTEXT']._serialized_end=
|
|
48
|
-
_globals['_EXTRACTEDTEXT_SPLITTEXTENTRY']._serialized_start=
|
|
49
|
-
_globals['_EXTRACTEDTEXT_SPLITTEXTENTRY']._serialized_end=
|
|
50
|
-
_globals['_VECTOR']._serialized_start=
|
|
51
|
-
_globals['_VECTOR']._serialized_end=
|
|
52
|
-
_globals['_VECTORS']._serialized_start=
|
|
53
|
-
_globals['_VECTORS']._serialized_end=
|
|
54
|
-
_globals['_VECTOROBJECT']._serialized_start=
|
|
55
|
-
_globals['_VECTOROBJECT']._serialized_end=
|
|
56
|
-
_globals['_VECTOROBJECT_SPLITVECTORSENTRY']._serialized_start=
|
|
57
|
-
_globals['_VECTOROBJECT_SPLITVECTORSENTRY']._serialized_end=
|
|
58
|
-
_globals['_USERVECTOR']._serialized_start=
|
|
59
|
-
_globals['_USERVECTOR']._serialized_end=
|
|
60
|
-
_globals['_USERVECTORS']._serialized_start=
|
|
61
|
-
_globals['_USERVECTORS']._serialized_end=
|
|
62
|
-
_globals['_USERVECTORS_VECTORSENTRY']._serialized_start=
|
|
63
|
-
_globals['_USERVECTORS_VECTORSENTRY']._serialized_end=
|
|
64
|
-
_globals['_USERVECTORSET']._serialized_start=
|
|
65
|
-
_globals['_USERVECTORSET']._serialized_end=
|
|
66
|
-
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_start=
|
|
67
|
-
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_end=
|
|
68
|
-
_globals['_USERVECTORSLIST']._serialized_start=
|
|
69
|
-
_globals['_USERVECTORSLIST']._serialized_end=
|
|
70
|
-
_globals['_SECURITY']._serialized_start=
|
|
71
|
-
_globals['_SECURITY']._serialized_end=
|
|
37
|
+
_globals['_RELATION']._serialized_end=361
|
|
38
|
+
_globals['_RELATION_RELATIONTYPE']._serialized_start=262
|
|
39
|
+
_globals['_RELATION_RELATIONTYPE']._serialized_end=345
|
|
40
|
+
_globals['_RELATIONMETADATA']._serialized_start=364
|
|
41
|
+
_globals['_RELATIONMETADATA']._serialized_end=648
|
|
42
|
+
_globals['_RELATIONNODE']._serialized_start=651
|
|
43
|
+
_globals['_RELATIONNODE']._serialized_end=801
|
|
44
|
+
_globals['_RELATIONNODE_NODETYPE']._serialized_start=744
|
|
45
|
+
_globals['_RELATIONNODE_NODETYPE']._serialized_end=801
|
|
46
|
+
_globals['_EXTRACTEDTEXT']._serialized_start=804
|
|
47
|
+
_globals['_EXTRACTEDTEXT']._serialized_end=964
|
|
48
|
+
_globals['_EXTRACTEDTEXT_SPLITTEXTENTRY']._serialized_start=916
|
|
49
|
+
_globals['_EXTRACTEDTEXT_SPLITTEXTENTRY']._serialized_end=964
|
|
50
|
+
_globals['_VECTOR']._serialized_start=966
|
|
51
|
+
_globals['_VECTOR']._serialized_end=1066
|
|
52
|
+
_globals['_VECTORS']._serialized_start=1068
|
|
53
|
+
_globals['_VECTORS']._serialized_end=1109
|
|
54
|
+
_globals['_VECTOROBJECT']._serialized_start=1112
|
|
55
|
+
_globals['_VECTOROBJECT']._serialized_end=1314
|
|
56
|
+
_globals['_VECTOROBJECT_SPLITVECTORSENTRY']._serialized_start=1247
|
|
57
|
+
_globals['_VECTOROBJECT_SPLITVECTORSENTRY']._serialized_end=1314
|
|
58
|
+
_globals['_USERVECTOR']._serialized_start=1316
|
|
59
|
+
_globals['_USERVECTOR']._serialized_end=1388
|
|
60
|
+
_globals['_USERVECTORS']._serialized_start=1391
|
|
61
|
+
_globals['_USERVECTORS']._serialized_end=1521
|
|
62
|
+
_globals['_USERVECTORS_VECTORSENTRY']._serialized_start=1456
|
|
63
|
+
_globals['_USERVECTORS_VECTORSENTRY']._serialized_end=1521
|
|
64
|
+
_globals['_USERVECTORSET']._serialized_start=1524
|
|
65
|
+
_globals['_USERVECTORSET']._serialized_end=1659
|
|
66
|
+
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_start=1593
|
|
67
|
+
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_end=1659
|
|
68
|
+
_globals['_USERVECTORSLIST']._serialized_start=1661
|
|
69
|
+
_globals['_USERVECTORSLIST']._serialized_end=1695
|
|
70
|
+
_globals['_SECURITY']._serialized_start=1697
|
|
71
|
+
_globals['_SECURITY']._serialized_end=1730
|
|
72
72
|
# @@protoc_insertion_point(module_scope)
|
nucliadb_protos/utils_pb2.pyi
CHANGED
|
@@ -95,8 +95,10 @@ class Relation(google.protobuf.message.Message):
|
|
|
95
95
|
RELATION_FIELD_NUMBER: builtins.int
|
|
96
96
|
RELATION_LABEL_FIELD_NUMBER: builtins.int
|
|
97
97
|
METADATA_FIELD_NUMBER: builtins.int
|
|
98
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
98
99
|
relation: global___Relation.RelationType.ValueType
|
|
99
100
|
relation_label: builtins.str
|
|
101
|
+
resource_id: builtins.str
|
|
100
102
|
@property
|
|
101
103
|
def source(self) -> global___RelationNode: ...
|
|
102
104
|
@property
|
|
@@ -111,9 +113,11 @@ class Relation(google.protobuf.message.Message):
|
|
|
111
113
|
relation: global___Relation.RelationType.ValueType = ...,
|
|
112
114
|
relation_label: builtins.str = ...,
|
|
113
115
|
metadata: global___RelationMetadata | None = ...,
|
|
116
|
+
resource_id: builtins.str | None = ...,
|
|
114
117
|
) -> None: ...
|
|
115
|
-
def HasField(self, field_name: typing.Literal["metadata", b"metadata", "source", b"source", "to", b"to"]) -> builtins.bool: ...
|
|
116
|
-
def ClearField(self, field_name: typing.Literal["metadata", b"metadata", "relation", b"relation", "relation_label", b"relation_label", "source", b"source", "to", b"to"]) -> None: ...
|
|
118
|
+
def HasField(self, field_name: typing.Literal["_resource_id", b"_resource_id", "metadata", b"metadata", "resource_id", b"resource_id", "source", b"source", "to", b"to"]) -> builtins.bool: ...
|
|
119
|
+
def ClearField(self, field_name: typing.Literal["_resource_id", b"_resource_id", "metadata", b"metadata", "relation", b"relation", "relation_label", b"relation_label", "resource_id", b"resource_id", "source", b"source", "to", b"to"]) -> None: ...
|
|
120
|
+
def WhichOneof(self, oneof_group: typing.Literal["_resource_id", b"_resource_id"]) -> typing.Literal["resource_id"] | None: ...
|
|
117
121
|
|
|
118
122
|
global___Relation = Relation
|
|
119
123
|
|
{nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/RECORD
RENAMED
|
@@ -38,13 +38,13 @@ nucliadb_protos/train_pb2.py,sha256=kYwg4T8_Wg_BNE3u5LK3BD-TJWJGv1xOC9HwrxW3H1k,
|
|
|
38
38
|
nucliadb_protos/train_pb2.pyi,sha256=kCtmc9gUhIA5bF592lliLC6IBpqj7k9WZGy6Me2i8Zk,28534
|
|
39
39
|
nucliadb_protos/train_pb2_grpc.py,sha256=ZQ5TXiGOJ3CMQnlQ0nYMJG-ckVclv6WSMaUbm-tnriE,13970
|
|
40
40
|
nucliadb_protos/train_pb2_grpc.pyi,sha256=ozo6WrUuLq2LaNAthi6v-ziO29YhH-7lDUPzdgRqTzA,12204
|
|
41
|
-
nucliadb_protos/utils_pb2.py,sha256=
|
|
42
|
-
nucliadb_protos/utils_pb2.pyi,sha256=
|
|
41
|
+
nucliadb_protos/utils_pb2.py,sha256=7_0QLAjCZiao82Z9-GLnbylzOE_AM8at4F7Ie0lewKo,6880
|
|
42
|
+
nucliadb_protos/utils_pb2.pyi,sha256=gIgrVPlEFImEszIvSltt4bky29yPqEGKZcjyA0oXUlk,19351
|
|
43
43
|
nucliadb_protos/writer_pb2.py,sha256=laCn8RpVkakKjFLxsc4P44q8XnECHa4zJ6LsmEC1VGk,31113
|
|
44
44
|
nucliadb_protos/writer_pb2.pyi,sha256=b6kpaWDmvvbQv5OliFsgwbKIqsTuqtAklWWHx2k2HwU,76654
|
|
45
45
|
nucliadb_protos/writer_pb2_grpc.py,sha256=UOXVeYfuqQp8zX_haSK3EjyZcu0J_JNBmMw6uvIo7JI,31184
|
|
46
46
|
nucliadb_protos/writer_pb2_grpc.pyi,sha256=51o-ck0-mgy7CNB2NooDUjslpHKEaMlQWi7ebBKh2EI,18999
|
|
47
|
-
nucliadb_protos-6.3.1.
|
|
48
|
-
nucliadb_protos-6.3.1.
|
|
49
|
-
nucliadb_protos-6.3.1.
|
|
50
|
-
nucliadb_protos-6.3.1.
|
|
47
|
+
nucliadb_protos-6.3.1.post3574.dist-info/METADATA,sha256=lado-UZYFrL0baOgmCqiwyx-klVaEkSvPdtbaJfe1R8,824
|
|
48
|
+
nucliadb_protos-6.3.1.post3574.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
49
|
+
nucliadb_protos-6.3.1.post3574.dist-info/top_level.txt,sha256=wRP-apvCCaxGnNKXTnYx6tpAPggTof4SZQyoI1b-sjU,16
|
|
50
|
+
nucliadb_protos-6.3.1.post3574.dist-info/RECORD,,
|
|
File without changes
|
{nucliadb_protos-6.3.1.post3571.dist-info → nucliadb_protos-6.3.1.post3574.dist-info}/top_level.txt
RENAMED
|
File without changes
|