nucliadb 6.5.0.post4498__py3-none-any.whl → 6.5.0.post4500__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/search/api/v1/catalog.py +6 -3
- {nucliadb-6.5.0.post4498.dist-info → nucliadb-6.5.0.post4500.dist-info}/METADATA +6 -6
- {nucliadb-6.5.0.post4498.dist-info → nucliadb-6.5.0.post4500.dist-info}/RECORD +6 -6
- {nucliadb-6.5.0.post4498.dist-info → nucliadb-6.5.0.post4500.dist-info}/WHEEL +0 -0
- {nucliadb-6.5.0.post4498.dist-info → nucliadb-6.5.0.post4500.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.5.0.post4498.dist-info → nucliadb-6.5.0.post4500.dist-info}/top_level.txt +0 -0
@@ -44,6 +44,7 @@ from nucliadb_models.metadata import ResourceProcessingStatus
|
|
44
44
|
from nucliadb_models.resource import NucliaDBRoles
|
45
45
|
from nucliadb_models.search import (
|
46
46
|
CatalogFacetsRequest,
|
47
|
+
CatalogFacetsResponse,
|
47
48
|
CatalogRequest,
|
48
49
|
CatalogResponse,
|
49
50
|
KnowledgeboxSearchResults,
|
@@ -195,12 +196,14 @@ async def catalog(
|
|
195
196
|
@api.post(
|
196
197
|
f"/{KB_PREFIX}/{{kbid}}/catalog/facets",
|
197
198
|
status_code=200,
|
198
|
-
response_model=
|
199
|
+
response_model=CatalogFacetsResponse,
|
199
200
|
response_model_exclude_unset=True,
|
200
201
|
tags=["Search"],
|
201
202
|
include_in_schema=False,
|
202
203
|
)
|
203
204
|
@requires(NucliaDBRoles.READER)
|
204
205
|
@version(1)
|
205
|
-
async def catalog_facets(
|
206
|
-
|
206
|
+
async def catalog_facets(
|
207
|
+
request: Request, kbid: str, item: CatalogFacetsRequest
|
208
|
+
) -> CatalogFacetsResponse:
|
209
|
+
return CatalogFacetsResponse(facets=await pgcatalog_facets(kbid, item))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.5.0.
|
3
|
+
Version: 6.5.0.post4500
|
4
4
|
Summary: NucliaDB
|
5
5
|
Author-email: Nuclia <nucliadb@nuclia.com>
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
@@ -19,11 +19,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
20
20
|
Requires-Python: <4,>=3.9
|
21
21
|
Description-Content-Type: text/markdown
|
22
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.5.0.
|
23
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.0.
|
24
|
-
Requires-Dist: nucliadb-protos>=6.5.0.
|
25
|
-
Requires-Dist: nucliadb-models>=6.5.0.
|
26
|
-
Requires-Dist: nidx-protos>=6.5.0.
|
22
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.5.0.post4500
|
23
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.0.post4500
|
24
|
+
Requires-Dist: nucliadb-protos>=6.5.0.post4500
|
25
|
+
Requires-Dist: nucliadb-models>=6.5.0.post4500
|
26
|
+
Requires-Dist: nidx-protos>=6.5.0.post4500
|
27
27
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
28
28
|
Requires-Dist: nuclia-models>=0.24.2
|
29
29
|
Requires-Dist: uvicorn[standard]
|
@@ -221,7 +221,7 @@ nucliadb/search/utilities.py,sha256=9SsRDw0rJVXVoLBfF7rBb6q080h-thZc7u8uRcTiBeY,
|
|
221
221
|
nucliadb/search/api/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
222
222
|
nucliadb/search/api/v1/__init__.py,sha256=DH16OYnw9jQ38OpKlmdXeoq2j40ZPXZRtGvClKOkMhw,1239
|
223
223
|
nucliadb/search/api/v1/ask.py,sha256=b4tz33HNsfT5DXv_2DMc_jirnFsHuobreWkbAKkzj5o,5337
|
224
|
-
nucliadb/search/api/v1/catalog.py,sha256=
|
224
|
+
nucliadb/search/api/v1/catalog.py,sha256=aBNhgg-8Dj4kiB9IYshe46ph1FaeaPCjyxnNPgUu3AQ,7942
|
225
225
|
nucliadb/search/api/v1/feedback.py,sha256=kNLc4dHz2SXHzV0PwC1WiRAwY88fDptPcP-kO0q-FrQ,2620
|
226
226
|
nucliadb/search/api/v1/find.py,sha256=iMjyq4y0JOMC_x1B8kUfVdkCoc9G9Ark58kPLLY4HDw,10824
|
227
227
|
nucliadb/search/api/v1/graph.py,sha256=gthqxCOn9biE6D6s93jRGLglk0ono8U7OyS390kWiI8,4178
|
@@ -375,8 +375,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
375
375
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
376
376
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
377
377
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
378
|
-
nucliadb-6.5.0.
|
379
|
-
nucliadb-6.5.0.
|
380
|
-
nucliadb-6.5.0.
|
381
|
-
nucliadb-6.5.0.
|
382
|
-
nucliadb-6.5.0.
|
378
|
+
nucliadb-6.5.0.post4500.dist-info/METADATA,sha256=aGwIqPmkg_wGRbYvpPcIQnIRSHE9Eoh3V3VvnyDJ8Ik,4158
|
379
|
+
nucliadb-6.5.0.post4500.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
380
|
+
nucliadb-6.5.0.post4500.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
381
|
+
nucliadb-6.5.0.post4500.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
382
|
+
nucliadb-6.5.0.post4500.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|