nucliadb 6.2.1.post3003__py3-none-any.whl → 6.2.1.post3010__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.
- nucliadb/writer/api/v1/vectorsets.py +3 -3
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/METADATA +5 -5
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/RECORD +7 -7
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/WHEEL +0 -0
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/top_level.txt +0 -0
- {nucliadb-6.2.1.post3003.dist-info → nucliadb-6.2.1.post3010.dist-info}/zip-safe +0 -0
@@ -30,7 +30,7 @@ from nucliadb.writer.api.v1.router import KB_PREFIX, api
|
|
30
30
|
from nucliadb_models.resource import (
|
31
31
|
NucliaDBRoles,
|
32
32
|
)
|
33
|
-
from nucliadb_utils.authentication import
|
33
|
+
from nucliadb_utils.authentication import requires_one
|
34
34
|
|
35
35
|
|
36
36
|
@api.post(
|
@@ -41,7 +41,7 @@ from nucliadb_utils.authentication import requires
|
|
41
41
|
# TODO: remove when the feature is mature
|
42
42
|
include_in_schema=False,
|
43
43
|
)
|
44
|
-
@
|
44
|
+
@requires_one([NucliaDBRoles.MANAGER, NucliaDBRoles.WRITER])
|
45
45
|
@version(1)
|
46
46
|
async def add_vectorset(request: Request, kbid: str, vectorset_id: str) -> Response:
|
47
47
|
try:
|
@@ -63,7 +63,7 @@ async def add_vectorset(request: Request, kbid: str, vectorset_id: str) -> Respo
|
|
63
63
|
# TODO: remove when the feature is mature
|
64
64
|
include_in_schema=False,
|
65
65
|
)
|
66
|
-
@
|
66
|
+
@requires_one([NucliaDBRoles.MANAGER, NucliaDBRoles.WRITER])
|
67
67
|
@version(1)
|
68
68
|
async def delete_vectorset(request: Request, kbid: str, vectorset_id: str) -> Response:
|
69
69
|
try:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.2.1.
|
3
|
+
Version: 6.2.1.post3010
|
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.
|
26
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.
|
27
|
-
Requires-Dist: nucliadb-protos>=6.2.1.
|
28
|
-
Requires-Dist: nucliadb-models>=6.2.1.
|
25
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post3010
|
26
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3010
|
27
|
+
Requires-Dist: nucliadb-protos>=6.2.1.post3010
|
28
|
+
Requires-Dist: nucliadb-models>=6.2.1.post3010
|
29
29
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
30
30
|
Requires-Dist: nuclia-models>=0.24.2
|
31
31
|
Requires-Dist: uvicorn
|
@@ -315,7 +315,7 @@ nucliadb/writer/api/v1/services.py,sha256=U8OGxhA1tdt-wxw2uDAjFpwFXFEXSDTfBe1iV5
|
|
315
315
|
nucliadb/writer/api/v1/slug.py,sha256=xlVBDBpRi9bNulpBHZwhyftVvulfE0zFm1XZIWl-AKY,2389
|
316
316
|
nucliadb/writer/api/v1/transaction.py,sha256=d2Vbgnkk_-FLGSTt3vfldwiJIUf0XoyD0wP1jQNz_DY,2430
|
317
317
|
nucliadb/writer/api/v1/upload.py,sha256=VOeqNTrZx1_z8iaKjM7p8fVlVcIYMtnQNK1dm72ct6k,33161
|
318
|
-
nucliadb/writer/api/v1/vectorsets.py,sha256=
|
318
|
+
nucliadb/writer/api/v1/vectorsets.py,sha256=KHbVKVG3oKmy53PFW0oDCDCVlZik9MBd-9NcAWph1U0,2818
|
319
319
|
nucliadb/writer/resource/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
320
320
|
nucliadb/writer/resource/audit.py,sha256=FvxMZPzrNHtd31HgpZEvxzwAkbxJTZRhPLqRYYJi3tA,1426
|
321
321
|
nucliadb/writer/resource/basic.py,sha256=l9zD-Qiq4eUkHezMf0w1Ksx2izKYLYuNoMIlXcNxxpM,11163
|
@@ -330,9 +330,9 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
330
330
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
331
331
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
332
332
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
333
|
-
nucliadb-6.2.1.
|
334
|
-
nucliadb-6.2.1.
|
335
|
-
nucliadb-6.2.1.
|
336
|
-
nucliadb-6.2.1.
|
337
|
-
nucliadb-6.2.1.
|
338
|
-
nucliadb-6.2.1.
|
333
|
+
nucliadb-6.2.1.post3010.dist-info/METADATA,sha256=9cimhw0PLgfBxgNNLnvr0tUl3YwzFLcAAvYZy1V29h0,4603
|
334
|
+
nucliadb-6.2.1.post3010.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
335
|
+
nucliadb-6.2.1.post3010.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
336
|
+
nucliadb-6.2.1.post3010.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
337
|
+
nucliadb-6.2.1.post3010.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
338
|
+
nucliadb-6.2.1.post3010.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|