nucliadb 6.2.1.post3018__py3-none-any.whl → 6.2.1.post3023__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.
@@ -144,11 +144,15 @@ class _FindParser:
144
144
 
145
145
 
146
146
  def parse_catalog(kbid: str, item: search_models.CatalogRequest) -> CatalogQuery:
147
- if item.hidden:
148
- hidden_filter = Filter(all=[LABEL_HIDDEN])
149
- else:
150
- hidden_filter = Filter(none=[LABEL_HIDDEN])
151
- label_filters: dict[str, Any] = convert_to_node_filters(item.filters + [hidden_filter]) # type: ignore
147
+ filters = item.filters
148
+
149
+ if item.hidden is not None:
150
+ if item.hidden:
151
+ filters.append(Filter(all=[LABEL_HIDDEN])) # type: ignore
152
+ else:
153
+ filters.append(Filter(none=[LABEL_HIDDEN])) # type: ignore
154
+
155
+ label_filters: dict[str, Any] = convert_to_node_filters(item.filters)
152
156
  if len(label_filters) > 0:
153
157
  label_filters = translate_label_filters(label_filters)
154
158
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nucliadb
3
- Version: 6.2.1.post3018
3
+ Version: 6.2.1.post3023
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.post3018
26
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3018
27
- Requires-Dist: nucliadb-protos>=6.2.1.post3018
28
- Requires-Dist: nucliadb-models>=6.2.1.post3018
25
+ Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post3023
26
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3023
27
+ Requires-Dist: nucliadb-protos>=6.2.1.post3023
28
+ Requires-Dist: nucliadb-models>=6.2.1.post3023
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
@@ -232,7 +232,7 @@ nucliadb/search/search/chat/query.py,sha256=y7W5VuKl1XiZuNsxZIcxxHcFXSG6It2W5Cof
232
232
  nucliadb/search/search/query_parser/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
233
233
  nucliadb/search/search/query_parser/exceptions.py,sha256=tuzl7ZyvVsRz6u0_3zMe60vx39nd3pi641prs-5nC0E,872
234
234
  nucliadb/search/search/query_parser/models.py,sha256=-VlCDXUCgOroAZw1Leqhj2VMgRv_CD2w40PXXOBLaUM,2332
235
- nucliadb/search/search/query_parser/parser.py,sha256=ElKx9JboJCSqBiFiEAVVH-JM0_7ykc_cdY4TbKfAxUg,6296
235
+ nucliadb/search/search/query_parser/parser.py,sha256=7L7vcEKIum07HeQ6F2EzKCYe3u6CFCgWsu16r91h3S0,6371
236
236
  nucliadb/standalone/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
237
237
  nucliadb/standalone/api_router.py,sha256=zR03TQ-Pd2kXx1jeV83Puw19112Z8Jhln7p1cAn69kg,6699
238
238
  nucliadb/standalone/app.py,sha256=mAApNK_iVsQgJyd-mtwCeZq5csSimwnXmlQGH9a70pE,5586
@@ -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.post3018.dist-info/METADATA,sha256=XYIGZb-cOnxPbfBOGkJ1uNdfml6tyNZujd9-044r8TQ,4603
334
- nucliadb-6.2.1.post3018.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
335
- nucliadb-6.2.1.post3018.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
336
- nucliadb-6.2.1.post3018.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
337
- nucliadb-6.2.1.post3018.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
338
- nucliadb-6.2.1.post3018.dist-info/RECORD,,
333
+ nucliadb-6.2.1.post3023.dist-info/METADATA,sha256=BeYwO-s0BdgSOvRJc0q1TMIZbceTC67Wq91iJt4B0UM,4603
334
+ nucliadb-6.2.1.post3023.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
335
+ nucliadb-6.2.1.post3023.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
336
+ nucliadb-6.2.1.post3023.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
337
+ nucliadb-6.2.1.post3023.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
338
+ nucliadb-6.2.1.post3023.dist-info/RECORD,,