nucliadb 6.3.3.post3627__py3-none-any.whl → 6.3.4.post3632__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/parsers/graph.py +3 -6
- {nucliadb-6.3.3.post3627.dist-info → nucliadb-6.3.4.post3632.dist-info}/METADATA +6 -6
- {nucliadb-6.3.3.post3627.dist-info → nucliadb-6.3.4.post3632.dist-info}/RECORD +6 -6
- {nucliadb-6.3.3.post3627.dist-info → nucliadb-6.3.4.post3632.dist-info}/WHEEL +0 -0
- {nucliadb-6.3.3.post3627.dist-info → nucliadb-6.3.4.post3632.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.3.3.post3627.dist-info → nucliadb-6.3.4.post3632.dist-info}/top_level.txt +0 -0
@@ -29,6 +29,7 @@ def parse_graph_search(item: graph_requests.GraphSearchRequest) -> GraphRetrieva
|
|
29
29
|
pb = nodereader_pb2.GraphSearchRequest()
|
30
30
|
pb.query.path.CopyFrom(_parse_path_query(item.query))
|
31
31
|
pb.top_k = item.top_k
|
32
|
+
pb.kind = nodereader_pb2.GraphSearchRequest.QueryKind.PATH
|
32
33
|
return pb
|
33
34
|
|
34
35
|
|
@@ -36,6 +37,7 @@ def parse_graph_node_search(item: graph_requests.GraphNodesSearchRequest) -> Gra
|
|
36
37
|
pb = nodereader_pb2.GraphSearchRequest()
|
37
38
|
pb.query.path.CopyFrom(_parse_node_query(item.query))
|
38
39
|
pb.top_k = item.top_k
|
40
|
+
pb.kind = nodereader_pb2.GraphSearchRequest.QueryKind.NODES
|
39
41
|
return pb
|
40
42
|
|
41
43
|
|
@@ -43,6 +45,7 @@ def parse_graph_relation_search(item: graph_requests.GraphRelationsSearchRequest
|
|
43
45
|
pb = nodereader_pb2.GraphSearchRequest()
|
44
46
|
pb.query.path.CopyFrom(_parse_relation_query(item.query))
|
45
47
|
pb.top_k = item.top_k
|
48
|
+
pb.kind = nodereader_pb2.GraphSearchRequest.QueryKind.RELATIONS
|
46
49
|
return pb
|
47
50
|
|
48
51
|
|
@@ -110,12 +113,6 @@ def _parse_node_query(expr: graph_requests.GraphNodesQuery) -> nodereader_pb2.Gr
|
|
110
113
|
elif isinstance(expr, graph_requests.Not):
|
111
114
|
pb.bool_not.CopyFrom(_parse_node_query(expr.operand))
|
112
115
|
|
113
|
-
elif isinstance(expr, graph_requests.SourceNode):
|
114
|
-
_set_node_to_pb(expr, pb.path.source)
|
115
|
-
|
116
|
-
elif isinstance(expr, graph_requests.DestinationNode):
|
117
|
-
_set_node_to_pb(expr, pb.path.destination)
|
118
|
-
|
119
116
|
elif isinstance(expr, graph_requests.AnyNode):
|
120
117
|
_set_node_to_pb(expr, pb.path.source)
|
121
118
|
pb.path.undirected = True
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.3.
|
3
|
+
Version: 6.3.4.post3632
|
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.
|
24
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.
|
25
|
-
Requires-Dist: nucliadb-protos>=6.3.
|
26
|
-
Requires-Dist: nucliadb-models>=6.3.
|
27
|
-
Requires-Dist: nidx-protos>=6.3.
|
23
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.3.4.post3632
|
24
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.4.post3632
|
25
|
+
Requires-Dist: nucliadb-protos>=6.3.4.post3632
|
26
|
+
Requires-Dist: nucliadb-models>=6.3.4.post3632
|
27
|
+
Requires-Dist: nidx-protos>=6.3.4.post3632
|
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
|
@@ -256,7 +256,7 @@ nucliadb/search/search/query_parser/old_filters.py,sha256=-zbfN-RsXoj_DRjh3Lfp-w
|
|
256
256
|
nucliadb/search/search/query_parser/parsers/__init__.py,sha256=ySCNSdbesLXGZyR88919njulA6UE10_3PhqMG_Yj1o4,1034
|
257
257
|
nucliadb/search/search/query_parser/parsers/catalog.py,sha256=XdBiTweGTQkj8m_V_i2xbwp7P5pPO8K1Tud692XKhMw,7149
|
258
258
|
nucliadb/search/search/query_parser/parsers/find.py,sha256=q3wH_i0DGceeKckYEH3c5MqM5EvRiMCL7r-6nCAId9Q,4666
|
259
|
-
nucliadb/search/search/query_parser/parsers/graph.py,sha256=
|
259
|
+
nucliadb/search/search/query_parser/parsers/graph.py,sha256=stD17_cXhLagJgNZu4Vqk0YJTU15BVSANHrB4sX2qCQ,6244
|
260
260
|
nucliadb/standalone/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
261
261
|
nucliadb/standalone/api_router.py,sha256=hgq9FXpihzgjHkwcVGfGCSwyXy67fqXTfLFHuINzIi0,5567
|
262
262
|
nucliadb/standalone/app.py,sha256=mAApNK_iVsQgJyd-mtwCeZq5csSimwnXmlQGH9a70pE,5586
|
@@ -352,8 +352,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
352
352
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
353
353
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
354
354
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
355
|
-
nucliadb-6.3.
|
356
|
-
nucliadb-6.3.
|
357
|
-
nucliadb-6.3.
|
358
|
-
nucliadb-6.3.
|
359
|
-
nucliadb-6.3.
|
355
|
+
nucliadb-6.3.4.post3632.dist-info/METADATA,sha256=E9EwhgMpHBedx-lBN5jEClmDHciojyPZQB3q0zpSP5o,4291
|
356
|
+
nucliadb-6.3.4.post3632.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
357
|
+
nucliadb-6.3.4.post3632.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
358
|
+
nucliadb-6.3.4.post3632.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
359
|
+
nucliadb-6.3.4.post3632.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|