nucliadb 6.3.1.post3496__py3-none-any.whl → 6.3.1.post3498__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.
@@ -98,6 +98,9 @@ async def catalog_get(
98
98
  SearchParamDefaults.range_modification_end
99
99
  ),
100
100
  hidden: Optional[bool] = fastapi_query(SearchParamDefaults.hidden),
101
+ show: list[ResourceProperties] = fastapi_query(
102
+ SearchParamDefaults.show, default=[ResourceProperties.BASIC, ResourceProperties.ERRORS]
103
+ ),
101
104
  ) -> Union[KnowledgeboxSearchResults, HTTPClientError]:
102
105
  try:
103
106
  expr = (
@@ -121,6 +124,7 @@ async def catalog_get(
121
124
  range_modification_start=range_modification_start,
122
125
  range_modification_end=range_modification_end,
123
126
  hidden=hidden,
127
+ show=show,
124
128
  )
125
129
  if sort_field:
126
130
  item.sort = SortOptions(field=sort_field, limit=sort_limit, order=sort_order)
@@ -169,7 +173,7 @@ async def catalog(
169
173
  catalog_results.resources = await fetch_resources(
170
174
  resources=[r.rid for r in catalog_results.fulltext.results],
171
175
  kbid=kbid,
172
- show=[ResourceProperties.BASIC, ResourceProperties.ERRORS],
176
+ show=item.show,
173
177
  field_type_filter=list(FieldTypeName),
174
178
  extracted=[],
175
179
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nucliadb
3
- Version: 6.3.1.post3496
3
+ Version: 6.3.1.post3498
4
4
  Summary: NucliaDB
5
5
  Author-email: Nuclia <nucliadb@nuclia.com>
6
6
  License: AGPL
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
21
  Requires-Python: <4,>=3.9
22
22
  Description-Content-Type: text/markdown
23
- Requires-Dist: nucliadb-telemetry[all]>=6.3.1.post3496
24
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.1.post3496
25
- Requires-Dist: nucliadb-protos>=6.3.1.post3496
26
- Requires-Dist: nucliadb-models>=6.3.1.post3496
27
- Requires-Dist: nidx-protos>=6.3.1.post3496
23
+ Requires-Dist: nucliadb-telemetry[all]>=6.3.1.post3498
24
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.1.post3498
25
+ Requires-Dist: nucliadb-protos>=6.3.1.post3498
26
+ Requires-Dist: nucliadb-models>=6.3.1.post3498
27
+ Requires-Dist: nidx-protos>=6.3.1.post3498
28
28
  Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
29
29
  Requires-Dist: nuclia-models>=0.24.2
30
30
  Requires-Dist: uvicorn
@@ -192,7 +192,7 @@ nucliadb/search/utilities.py,sha256=9SsRDw0rJVXVoLBfF7rBb6q080h-thZc7u8uRcTiBeY,
192
192
  nucliadb/search/api/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
193
193
  nucliadb/search/api/v1/__init__.py,sha256=8w6VhZ5rbzX1xLSXr336d2IE-O0dQiv-ba6UYdRKnHA,1325
194
194
  nucliadb/search/api/v1/ask.py,sha256=F2dR3-swb3Xz8MfZPYL3G65KY2R_mgef4YVBbu8kLi4,4352
195
- nucliadb/search/api/v1/catalog.py,sha256=LIoLknBAXIRwrJA3TCPoVIoYZZx41R1eMP7yR7x_f_Y,7579
195
+ nucliadb/search/api/v1/catalog.py,sha256=IyBkq99CND1kFelsedJiQaSD8GOPGBJpcKuw1Z6jB9E,7709
196
196
  nucliadb/search/api/v1/feedback.py,sha256=kNLc4dHz2SXHzV0PwC1WiRAwY88fDptPcP-kO0q-FrQ,2620
197
197
  nucliadb/search/api/v1/find.py,sha256=l2dRg0eYngq52vyn9_z9iK7bdO7ufHQDnJWBZgMVrqY,9628
198
198
  nucliadb/search/api/v1/knowledgebox.py,sha256=rWhx3PYWryingu19qwwFDbVvVYynq5Ky23FSlzmTutQ,8721
@@ -339,8 +339,8 @@ 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.3.1.post3496.dist-info/METADATA,sha256=5MWHuNYen2cYlCYbpGOrnkEXINxqHOxutzk5cR0iimk,4291
343
- nucliadb-6.3.1.post3496.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
344
- nucliadb-6.3.1.post3496.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
345
- nucliadb-6.3.1.post3496.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
346
- nucliadb-6.3.1.post3496.dist-info/RECORD,,
342
+ nucliadb-6.3.1.post3498.dist-info/METADATA,sha256=Klk4uOzMdNOlGiYiw_96v0_aVFKbjJMSDpKXOfEcRFU,4291
343
+ nucliadb-6.3.1.post3498.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
344
+ nucliadb-6.3.1.post3498.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
345
+ nucliadb-6.3.1.post3498.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
346
+ nucliadb-6.3.1.post3498.dist-info/RECORD,,