nucliadb 6.3.0.post3424__py3-none-any.whl → 6.3.0.post3430__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/search/query_parser/filter_expression.py +8 -2
- {nucliadb-6.3.0.post3424.dist-info → nucliadb-6.3.0.post3430.dist-info}/METADATA +6 -6
- {nucliadb-6.3.0.post3424.dist-info → nucliadb-6.3.0.post3430.dist-info}/RECORD +6 -6
- {nucliadb-6.3.0.post3424.dist-info → nucliadb-6.3.0.post3430.dist-info}/WHEEL +0 -0
- {nucliadb-6.3.0.post3424.dist-info → nucliadb-6.3.0.post3430.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.3.0.post3424.dist-info → nucliadb-6.3.0.post3430.dist-info}/top_level.txt +0 -0
@@ -166,7 +166,11 @@ def facet_from_filter(expr: FacetFilter) -> str:
|
|
166
166
|
if expr.value:
|
167
167
|
facet += f"/{expr.value}"
|
168
168
|
elif isinstance(expr, OriginPath):
|
169
|
-
facet =
|
169
|
+
facet = "/p"
|
170
|
+
if expr.prefix:
|
171
|
+
# Remove leading/trailing slashes for better compatibility
|
172
|
+
clean_prefix = expr.prefix.strip("/")
|
173
|
+
facet += f"/{clean_prefix}"
|
170
174
|
elif isinstance(expr, Generated):
|
171
175
|
facet = "/g/da"
|
172
176
|
if expr.da_task:
|
@@ -176,7 +180,9 @@ def facet_from_filter(expr: FacetFilter) -> str:
|
|
176
180
|
elif isinstance(expr, OriginCollaborator):
|
177
181
|
facet = f"/u/o/{expr.collaborator}"
|
178
182
|
elif isinstance(expr, OriginSource):
|
179
|
-
facet =
|
183
|
+
facet = "/u/s"
|
184
|
+
if expr.id:
|
185
|
+
facet += f"/{expr.id}"
|
180
186
|
elif isinstance(expr, Status):
|
181
187
|
facet = f"/n/s/{expr.status.value}"
|
182
188
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.3.0.
|
3
|
+
Version: 6.3.0.post3430
|
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.0.
|
24
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.0.
|
25
|
-
Requires-Dist: nucliadb-protos>=6.3.0.
|
26
|
-
Requires-Dist: nucliadb-models>=6.3.0.
|
27
|
-
Requires-Dist: nidx-protos>=6.3.0.
|
23
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.3.0.post3430
|
24
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.0.post3430
|
25
|
+
Requires-Dist: nucliadb-protos>=6.3.0.post3430
|
26
|
+
Requires-Dist: nucliadb-models>=6.3.0.post3430
|
27
|
+
Requires-Dist: nidx-protos>=6.3.0.post3430
|
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
|
@@ -241,7 +241,7 @@ nucliadb/search/search/query_parser/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyv
|
|
241
241
|
nucliadb/search/search/query_parser/catalog.py,sha256=EX6nDKH2qpMuuc7Ff0R_Ad78R4hj0JUDZp0ifUe1rrY,6963
|
242
242
|
nucliadb/search/search/query_parser/exceptions.py,sha256=szAOXUZ27oNY-OSa9t2hQ5HHkQQC0EX1FZz_LluJHJE,1224
|
243
243
|
nucliadb/search/search/query_parser/fetcher.py,sha256=jhr__J0KmAzjdsTTadWQmD9qf6lZvqlKAfZdYjZH_UY,15742
|
244
|
-
nucliadb/search/search/query_parser/filter_expression.py,sha256=
|
244
|
+
nucliadb/search/search/query_parser/filter_expression.py,sha256=Webr3GLZgVn0bK3900_orH3CumkM-uUAuHDwU14i3xY,6425
|
245
245
|
nucliadb/search/search/query_parser/models.py,sha256=VHDuyJlU2OLZN1usrQX53TZbPmWhzMeVYY0BiYNFzak,2464
|
246
246
|
nucliadb/search/search/query_parser/old_filters.py,sha256=-zbfN-RsXoj_DRjh3Lfp-wShwFXgkISawzVptVzja-A,9071
|
247
247
|
nucliadb/search/search/query_parser/parser.py,sha256=9TwkSNna3s-lCQIqBoSJzm6YbXdu8VIHJUan8M4ysfE,4667
|
@@ -340,8 +340,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
340
340
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
341
341
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
342
342
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
343
|
-
nucliadb-6.3.0.
|
344
|
-
nucliadb-6.3.0.
|
345
|
-
nucliadb-6.3.0.
|
346
|
-
nucliadb-6.3.0.
|
347
|
-
nucliadb-6.3.0.
|
343
|
+
nucliadb-6.3.0.post3430.dist-info/METADATA,sha256=bAzZw0xH5eFJS-s5BrCY6nasZTgfpUK_A5gsp14nCzA,4291
|
344
|
+
nucliadb-6.3.0.post3430.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
|
345
|
+
nucliadb-6.3.0.post3430.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
346
|
+
nucliadb-6.3.0.post3430.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
347
|
+
nucliadb-6.3.0.post3430.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|