nucliadb-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.
@@ -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: nucliadb_protos/audit.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/audit.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -38,19 +48,19 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_proto
38
48
  _globals = globals()
39
49
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
40
50
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.audit_pb2', _globals)
41
- if _descriptor._USE_C_DESCRIPTORS == False:
42
- DESCRIPTOR._options = None
43
- _globals['_AUDITFIELD'].fields_by_name['size_delta']._options = None
51
+ if not _descriptor._USE_C_DESCRIPTORS:
52
+ DESCRIPTOR._loaded_options = None
53
+ _globals['_AUDITFIELD'].fields_by_name['size_delta']._loaded_options = None
44
54
  _globals['_AUDITFIELD'].fields_by_name['size_delta']._serialized_options = b'\030\001'
45
- _globals['_CHATAUDIT'].fields_by_name['context']._options = None
55
+ _globals['_CHATAUDIT'].fields_by_name['context']._loaded_options = None
46
56
  _globals['_CHATAUDIT'].fields_by_name['context']._serialized_options = b'\030\001'
47
- _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["KB_DELETED"]._options = None
57
+ _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["KB_DELETED"]._loaded_options = None
48
58
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["KB_DELETED"]._serialized_options = b'\010\001'
49
- _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["SUGGEST"]._options = None
59
+ _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["SUGGEST"]._loaded_options = None
50
60
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["SUGGEST"]._serialized_options = b'\010\001'
51
- _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["INDEXED"]._options = None
61
+ _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["INDEXED"]._loaded_options = None
52
62
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["INDEXED"]._serialized_options = b'\010\001'
53
- _globals['_AUDITREQUEST'].fields_by_name['timeit']._options = None
63
+ _globals['_AUDITREQUEST'].fields_by_name['timeit']._loaded_options = None
54
64
  _globals['_AUDITREQUEST'].fields_by_name['timeit']._serialized_options = b'\030\001'
55
65
  _globals['_CLIENTTYPE']._serialized_start=2217
56
66
  _globals['_CLIENTTYPE']._serialized_end=2309
@@ -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: nucliadb_protos/backups.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/backups.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -20,8 +30,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dnucliadb_proto
20
30
  _globals = globals()
21
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
32
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.backups_pb2', _globals)
23
- if _descriptor._USE_C_DESCRIPTORS == False:
24
- DESCRIPTOR._options = None
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
25
35
  _globals['_CREATEBACKUPREQUEST']._serialized_start=75
26
36
  _globals['_CREATEBACKUPREQUEST']._serialized_end=130
27
37
  _globals['_CREATEBACKUPRESPONSE']._serialized_start=132
@@ -1,4 +1,24 @@
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
 
6
+
7
+ GRPC_GENERATED_VERSION = '1.71.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in nucliadb_protos/backups_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -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: nucliadb_protos/dataset.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/dataset.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -25,8 +35,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dnucliadb_proto
25
35
  _globals = globals()
26
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
27
37
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.dataset_pb2', _globals)
28
- if _descriptor._USE_C_DESCRIPTORS == False:
29
- DESCRIPTOR._options = None
38
+ if not _descriptor._USE_C_DESCRIPTORS:
39
+ DESCRIPTOR._loaded_options = None
30
40
  _globals['_TASKTYPE']._serialized_start=1870
31
41
  _globals['_TASKTYPE']._serialized_end=2094
32
42
  _globals['_LABELFROM']._serialized_start=2096
@@ -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: nucliadb_protos/kb_usage.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/kb_usage.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -20,9 +30,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1enucliadb_proto
20
30
  _globals = globals()
21
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
32
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.kb_usage_pb2', _globals)
23
- if _descriptor._USE_C_DESCRIPTORS == False:
24
- DESCRIPTOR._options = None
25
- _globals['_PROCESS'].fields_by_name['media_files']._options = None
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_PROCESS'].fields_by_name['media_files']._loaded_options = None
26
36
  _globals['_PROCESS'].fields_by_name['media_files']._serialized_options = b'\030\001'
27
37
  _globals['_KBSOURCE']._serialized_start=1377
28
38
  _globals['_KBSOURCE']._serialized_end=1411
@@ -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: nucliadb_protos/knowledgebox.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/knowledgebox.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -31,33 +41,33 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/
31
41
  _globals = globals()
32
42
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
43
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.knowledgebox_pb2', _globals)
34
- if _descriptor._USE_C_DESCRIPTORS == False:
35
- DESCRIPTOR._options = None
36
- _globals['_STOREDPINECONECONFIG_INDEXESENTRY']._options = None
44
+ if not _descriptor._USE_C_DESCRIPTORS:
45
+ DESCRIPTOR._loaded_options = None
46
+ _globals['_STOREDPINECONECONFIG_INDEXESENTRY']._loaded_options = None
37
47
  _globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_options = b'8\001'
38
- _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._options = None
48
+ _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._loaded_options = None
39
49
  _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._serialized_options = b'\030\001'
40
- _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._options = None
50
+ _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._loaded_options = None
41
51
  _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._serialized_options = b'\030\001'
42
- _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._options = None
52
+ _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._loaded_options = None
43
53
  _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._serialized_options = b'\030\001'
44
- _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._options = None
54
+ _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._loaded_options = None
45
55
  _globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._serialized_options = b'\030\001'
46
- _globals['_LABELS_LABELSETENTRY']._options = None
56
+ _globals['_LABELS_LABELSETENTRY']._loaded_options = None
47
57
  _globals['_LABELS_LABELSETENTRY']._serialized_options = b'8\001'
48
- _globals['_ENTITIESGROUP_ENTITIESENTRY']._options = None
58
+ _globals['_ENTITIESGROUP_ENTITIESENTRY']._loaded_options = None
49
59
  _globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_options = b'8\001'
50
- _globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._options = None
60
+ _globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._loaded_options = None
51
61
  _globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
52
- _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._options = None
62
+ _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._loaded_options = None
53
63
  _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_options = b'8\001'
54
- _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._options = None
64
+ _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._loaded_options = None
55
65
  _globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
56
- _globals['_VECTORSETS_VECTORSETSENTRY']._options = None
66
+ _globals['_VECTORSETS_VECTORSETSENTRY']._loaded_options = None
57
67
  _globals['_VECTORSETS_VECTORSETSENTRY']._serialized_options = b'8\001'
58
- _globals['_SYNONYMS_TERMSENTRY']._options = None
68
+ _globals['_SYNONYMS_TERMSENTRY']._loaded_options = None
59
69
  _globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
60
- _globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._options = None
70
+ _globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
61
71
  _globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._serialized_options = b'\030\001'
62
72
  _globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4415
63
73
  _globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4525
@@ -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: nucliadb_protos/migrations.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/migrations.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -19,8 +29,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/m
19
29
  _globals = globals()
20
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
31
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.migrations_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- DESCRIPTOR._options = None
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
24
34
  _globals['_MIGRATIONINFO']._serialized_start=48
25
35
  _globals['_MIGRATIONINFO']._serialized_end=112
26
36
  # @@protoc_insertion_point(module_scope)
@@ -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: nucliadb_protos/nodereader.proto
4
- # Protobuf Python Version: 4.25.1
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
+ 'nucliadb_protos/nodereader.proto'
19
+ )
10
20
  # @@protoc_insertion_point(imports)
11
21
 
12
22
  _sym_db = _symbol_database.Default()
@@ -28,17 +38,17 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/n
28
38
  _globals = globals()
29
39
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
40
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.nodereader_pb2', _globals)
31
- if _descriptor._USE_C_DESCRIPTORS == False:
32
- DESCRIPTOR._options = None
33
- _globals['_ORDERBY'].fields_by_name['field']._options = None
41
+ if not _descriptor._USE_C_DESCRIPTORS:
42
+ DESCRIPTOR._loaded_options = None
43
+ _globals['_ORDERBY'].fields_by_name['field']._loaded_options = None
34
44
  _globals['_ORDERBY'].fields_by_name['field']._serialized_options = b'\030\001'
35
- _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._options = None
45
+ _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
36
46
  _globals['_DOCUMENTSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
37
- _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._options = None
47
+ _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._loaded_options = None
38
48
  _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
39
- _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._options = None
49
+ _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._loaded_options = None
40
50
  _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._serialized_options = b'\030\001'
41
- _globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._options = None
51
+ _globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._loaded_options = None
42
52
  _globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._serialized_options = b'\030\001'
43
53
  _globals['_FILTEROPERATOR']._serialized_start=8639
44
54
  _globals['_FILTEROPERATOR']._serialized_end=8672