nucliadb-protos 6.5.1.post4520__py3-none-any.whl → 6.10.0.post5705__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.
- build.py +1 -1
- nucliadb_protos/audit_pb2.py +18 -18
- nucliadb_protos/audit_pb2.pyi +14 -4
- nucliadb_protos/backups_pb2.py +4 -4
- nucliadb_protos/backups_pb2_grpc.py +2 -2
- nucliadb_protos/dataset_pb2.py +4 -4
- nucliadb_protos/dataset_pb2.pyi +3 -0
- nucliadb_protos/kb_usage_pb2.py +10 -10
- nucliadb_protos/kb_usage_pb2.pyi +2 -0
- nucliadb_protos/knowledgebox_pb2.py +80 -82
- nucliadb_protos/knowledgebox_pb2.pyi +8 -8
- nucliadb_protos/migrations_pb2.py +4 -4
- nucliadb_protos/resources_pb2.py +204 -194
- nucliadb_protos/resources_pb2.pyi +100 -15
- nucliadb_protos/standalone_pb2.py +4 -4
- nucliadb_protos/standalone_pb2_grpc.py +2 -2
- nucliadb_protos/train_pb2.py +4 -4
- nucliadb_protos/train_pb2.pyi +3 -7
- nucliadb_protos/train_pb2_grpc.py +2 -2
- nucliadb_protos/train_pb2_grpc.pyi +3 -7
- nucliadb_protos/utils_pb2.py +5 -7
- nucliadb_protos/utils_pb2.pyi +0 -15
- nucliadb_protos/writer_pb2.py +106 -132
- nucliadb_protos/writer_pb2.pyi +35 -258
- nucliadb_protos/writer_pb2_grpc.py +3 -175
- nucliadb_protos/writer_pb2_grpc.pyi +7 -72
- {nucliadb_protos-6.5.1.post4520.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/METADATA +5 -6
- nucliadb_protos-6.10.0.post5705.dist-info/RECORD +37 -0
- {nucliadb_protos-6.5.1.post4520.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/WHEEL +1 -1
- nucliadb_protos-6.5.1.post4520.dist-info/RECORD +0 -37
- {nucliadb_protos-6.5.1.post4520.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/entry_points.txt +0 -0
|
@@ -20,13 +20,10 @@ else:
|
|
|
20
20
|
from nucliadb_protos.utils_pb2 import (
|
|
21
21
|
COSINE as COSINE,
|
|
22
22
|
DOT as DOT,
|
|
23
|
-
EXPERIMENTAL as EXPERIMENTAL,
|
|
24
23
|
ExtractedText as ExtractedText,
|
|
25
24
|
Relation as Relation,
|
|
26
25
|
RelationMetadata as RelationMetadata,
|
|
27
26
|
RelationNode as RelationNode,
|
|
28
|
-
ReleaseChannel as ReleaseChannel,
|
|
29
|
-
STABLE as STABLE,
|
|
30
27
|
Security as Security,
|
|
31
28
|
UserVector as UserVector,
|
|
32
29
|
UserVectorSet as UserVectorSet,
|
|
@@ -276,18 +273,21 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
276
273
|
ENABLED_FILTERS_FIELD_NUMBER: builtins.int
|
|
277
274
|
ENABLED_INSIGHTS_FIELD_NUMBER: builtins.int
|
|
278
275
|
DISABLE_VECTORS_FIELD_NUMBER: builtins.int
|
|
279
|
-
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
280
276
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
281
277
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
278
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
282
279
|
title: builtins.str
|
|
283
280
|
description: builtins.str
|
|
284
281
|
slug: builtins.str
|
|
285
282
|
migration_version: builtins.int
|
|
286
283
|
disable_vectors: builtins.bool
|
|
287
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
|
|
288
|
-
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
289
284
|
hidden_resources_enabled: builtins.bool
|
|
290
285
|
hidden_resources_hide_on_creation: builtins.bool
|
|
286
|
+
prewarm_enabled: builtins.bool
|
|
287
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
288
|
+
this flag allow faster searches (with less cold start) but it is
|
|
289
|
+
expensive on the infrastructure
|
|
290
|
+
"""
|
|
291
291
|
@property
|
|
292
292
|
def external_index_provider(self) -> global___StoredExternalIndexProviderMetadata: ...
|
|
293
293
|
@property
|
|
@@ -305,12 +305,12 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
305
305
|
enabled_filters: collections.abc.Iterable[builtins.str] | None = ...,
|
|
306
306
|
enabled_insights: collections.abc.Iterable[builtins.str] | None = ...,
|
|
307
307
|
disable_vectors: builtins.bool = ...,
|
|
308
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
309
308
|
hidden_resources_enabled: builtins.bool = ...,
|
|
310
309
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
310
|
+
prewarm_enabled: builtins.bool = ...,
|
|
311
311
|
) -> None: ...
|
|
312
312
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
313
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "
|
|
313
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "prewarm_enabled", b"prewarm_enabled", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
314
314
|
|
|
315
315
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
316
316
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/migrations.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/migrations.proto'
|
|
19
19
|
)
|