nucliadb 6.2.1.post2871__py3-none-any.whl → 6.2.1.post2882__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.
@@ -512,6 +512,12 @@ class KnowledgeBox:
512
512
  self.txn, kbid=self.kbid, vectorset_id=config.vectorset_id
513
513
  ):
514
514
  raise VectorSetConflict(f"Vectorset {config.vectorset_id} already exists")
515
+
516
+ # To ensure we always set the storage key kind, we overwrite it with the
517
+ # correct value. This whole enum business is to maintain bw/c with KBs
518
+ # pre-vectorsets, so any new vectorset should use the vectorset prefix
519
+ # key kind
520
+ config.storage_key_kind = knowledgebox_pb2.VectorSetConfig.StorageKeyKind.VECTORSET_PREFIX
515
521
  await datamanagers.vectorsets.set(self.txn, kbid=self.kbid, config=config)
516
522
 
517
523
  # Remove the async deletion mark if it exists, just in case there was a previous deletion
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nucliadb
3
- Version: 6.2.1.post2871
3
+ Version: 6.2.1.post2882
4
4
  Home-page: https://docs.nuclia.dev/docs/management/nucliadb/intro
5
5
  Author: NucliaDB Community
6
6
  Author-email: nucliadb@nuclia.com
@@ -22,10 +22,10 @@ Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Programming Language :: Python :: 3 :: Only
23
23
  Requires-Python: >=3.9, <4
24
24
  Description-Content-Type: text/markdown
25
- Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post2871
26
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post2871
27
- Requires-Dist: nucliadb-protos>=6.2.1.post2871
28
- Requires-Dist: nucliadb-models>=6.2.1.post2871
25
+ Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post2882
26
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post2882
27
+ Requires-Dist: nucliadb-protos>=6.2.1.post2882
28
+ Requires-Dist: nucliadb-models>=6.2.1.post2882
29
29
  Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
30
30
  Requires-Dist: nucliadb-node-binding>=2.26.0
31
31
  Requires-Dist: nuclia-models>=0.24.2
@@ -140,7 +140,7 @@ nucliadb/ingest/orm/brain.py,sha256=UND5EsNUdd7XdjScYqRqg4r_xCx3l-My8alGw5M9CWg,
140
140
  nucliadb/ingest/orm/broker_message.py,sha256=ZEMueoGuuRKO4tHgzc0P0AM1Ls1TTYey_4UvRQf0BpY,6915
141
141
  nucliadb/ingest/orm/entities.py,sha256=2PslT1FZ6yCvJtjR0UpKTSzxJrtS-C_gZx4ZTWHunTc,15759
142
142
  nucliadb/ingest/orm/exceptions.py,sha256=k4Esv4NtL4TrGTcsQpwrSfDhPQpiYcRbB1SpYmBX5MY,1432
143
- nucliadb/ingest/orm/knowledgebox.py,sha256=jWRBGic3KE1NRJzvUMpsRRLL6GHu9t28WsTb2DKtNhk,24901
143
+ nucliadb/ingest/orm/knowledgebox.py,sha256=XefDz6YsA0DLMS6T5W8P3VMFTkwr13bIae2ot7wAFpE,25259
144
144
  nucliadb/ingest/orm/metrics.py,sha256=OkwMSPKLZcKba0ZTwtTiIxwBgaLMX5ydhGieKvi2y7E,1096
145
145
  nucliadb/ingest/orm/resource.py,sha256=KhucZzQzUbTBUm8_9gaCqxH68Fy1Q2u804IfTcjAIIk,43970
146
146
  nucliadb/ingest/orm/utils.py,sha256=vCe_9UxHu26JDFGLwQ0wH-XyzJIpQCTK-Ow9dtZR5Vg,2716
@@ -339,9 +339,9 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
339
339
  nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
340
340
  nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
341
341
  nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
342
- nucliadb-6.2.1.post2871.dist-info/METADATA,sha256=qE45BIhLiAzSWUFf-L8MUwB-4Wppi3k2SEmvhznEgNs,4689
343
- nucliadb-6.2.1.post2871.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
344
- nucliadb-6.2.1.post2871.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
345
- nucliadb-6.2.1.post2871.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
346
- nucliadb-6.2.1.post2871.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
347
- nucliadb-6.2.1.post2871.dist-info/RECORD,,
342
+ nucliadb-6.2.1.post2882.dist-info/METADATA,sha256=BB5F9fAJJ9T68B2AhfC9Zkzda13dFCHw_87tl0GL6d0,4689
343
+ nucliadb-6.2.1.post2882.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
344
+ nucliadb-6.2.1.post2882.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
345
+ nucliadb-6.2.1.post2882.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
346
+ nucliadb-6.2.1.post2882.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
347
+ nucliadb-6.2.1.post2882.dist-info/RECORD,,