lora-python 0.9.0__tar.gz → 0.10.0__tar.gz
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.
- {lora_python-0.9.0 → lora_python-0.10.0}/Cargo.lock +59 -16
- {lora_python-0.9.0 → lora_python-0.10.0}/Cargo.toml +12 -11
- {lora_python-0.9.0 → lora_python-0.10.0}/PKG-INFO +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/tests/test_async.py +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/tests/test_sync.py +73 -9
- lora_python-0.10.0/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +546 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/expressions.rs +181 -139
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/mod.rs +6 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/state.rs +47 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/tests.rs +203 -69
- lora_python-0.10.0/crates/lora-analyzer/src/lib.rs +19 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/resolved.rs +17 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-ast/src/ast.rs +45 -3
- lora_python-0.10.0/crates/lora-ast/src/lib.rs +22 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/logical.rs +13 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/optimizer.rs +47 -21
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/physical.rs +9 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/plan_tree.rs +12 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/planner.rs +26 -24
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/advanced.rs +61 -54
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/engine.rs +17 -11
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/fixtures.rs +32 -32
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/index_acceleration.rs +4 -4
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/perf_smoke.rs +12 -9
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/query_implementations.rs +19 -14
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/scale.rs +6 -4
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/temporal_spatial.rs +45 -45
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/wal.rs +5 -5
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/procedures.rs +5 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/pull_mode.rs +1 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/show_pipeline.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/advanced_queries.rs +179 -19
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/aggregation.rs +4 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/binary.rs +1 -1
- lora_python-0.10.0/crates/lora-database/tests/builtin_namespaces.rs +1080 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/create.rs +8 -8
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/errors.rs +3 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/expressions.rs +188 -119
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/functions_extended.rs +200 -121
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/index_acceleration.rs +27 -27
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/invariants.rs +9 -9
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/match.rs +10 -10
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/ordering.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/parameters.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/paths.rs +24 -23
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/projection.rs +6 -6
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/scale.rs +4 -4
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/schema.rs +3 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/spatial.rs +56 -56
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/temporal.rs +125 -125
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/transactions.rs +62 -45
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/types_advanced.rs +85 -74
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/union.rs +3 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/update.rs +2 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/vector_index.rs +35 -14
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/vectors.rs +181 -157
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/wal.rs +6 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/where_clause.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/Cargo.toml +6 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/bits_ns.rs +33 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/bytes_ns.rs +239 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/cast_ns.rs +17 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/crypto.rs +40 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/edge.rs +98 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/geo.rs +55 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/json_ns.rs +171 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/list.rs +974 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/map_ns.rs +555 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/math_ns.rs +291 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/mod.rs +181 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/node.rs +96 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/number.rs +329 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/path.rs +76 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/string_ns.rs +765 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/temporal.rs +320 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/text.rs +285 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/type_ns.rs +548 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/uuid_ns.rs +73 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/value.rs +148 -0
- lora_python-0.10.0/crates/lora-executor/src/eval/builtins/vector_ns.rs +114 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/expr.rs +18 -2
- lora_python-0.10.0/crates/lora-executor/src/eval/functions.rs +29 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/mod.rs +1 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/point.rs +13 -11
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/vector.rs +9 -97
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/helpers.rs +27 -22
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/immutable.rs +28 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/mutable.rs +26 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/aggregate.rs +9 -10
- lora_python-0.10.0/crates/lora-executor/src/pull/call_subquery.rs +95 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/columns.rs +3 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/mod.rs +2 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/traits.rs +78 -23
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/cypher.pest +67 -8
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/expressions.rs +168 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/query.rs +18 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/schema.rs +2 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/tests.rs +198 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/constraint_catalog.rs +4 -4
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/constraint_enforce.rs +2 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/graph.rs +2 -2
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/index_catalog.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/text_index.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/spatial/tests.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/vector/mod.rs +2 -3
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/vector/similarity.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/vector/types.rs +1 -1
- {lora_python-0.9.0 → lora_python-0.10.0}/pyproject.toml +1 -1
- lora_python-0.9.0/crates/lora-analyzer/src/lib.rs +0 -15
- lora_python-0.9.0/crates/lora-ast/src/lib.rs +0 -22
- lora_python-0.9.0/crates/lora-executor/src/eval/functions.rs +0 -871
- {lora_python-0.9.0 → lora_python-0.10.0}/LICENSE +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/README.md +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/clauses.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-compiler/src/pattern.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/builder.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/compile.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/execute.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/explain.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/occ.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/profile.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/schema.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/stream.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/error.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/named.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/snapshot/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/snapshot/store.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/stream.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/transaction.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/backend_stub.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/fulltext_index.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/managed_snapshots.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/binops.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/optional.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/expand.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/hydration.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/mutable.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/scan.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/source.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/src/value.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/patterns.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/columnar.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/format.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/lock_table.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/fulltext_index.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/impls.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/point_index.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/property_index.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/secondary_index_maintenance.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/snapshot.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/stats.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/memory/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/snapshot.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/traits.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/graph.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/lib.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/wal/mod.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/wal/tests.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/src/wal/wal.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/python/lora_python/__init__.py +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/python/lora_python/_async.py +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/python/lora_python/py.typed +0 -0
- {lora_python-0.9.0 → lora_python-0.10.0}/python/lora_python/types.py +0 -0
|
@@ -773,7 +773,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
773
773
|
|
|
774
774
|
[[package]]
|
|
775
775
|
name = "lora-analyzer"
|
|
776
|
-
version = "0.
|
|
776
|
+
version = "0.10.0"
|
|
777
777
|
dependencies = [
|
|
778
778
|
"lora-ast",
|
|
779
779
|
"lora-parser",
|
|
@@ -783,14 +783,14 @@ dependencies = [
|
|
|
783
783
|
|
|
784
784
|
[[package]]
|
|
785
785
|
name = "lora-ast"
|
|
786
|
-
version = "0.
|
|
786
|
+
version = "0.10.0"
|
|
787
787
|
dependencies = [
|
|
788
788
|
"smallvec 2.0.0-alpha.12",
|
|
789
789
|
]
|
|
790
790
|
|
|
791
791
|
[[package]]
|
|
792
792
|
name = "lora-binding-buffer"
|
|
793
|
-
version = "0.
|
|
793
|
+
version = "0.10.0"
|
|
794
794
|
dependencies = [
|
|
795
795
|
"lora-database",
|
|
796
796
|
"lora-store",
|
|
@@ -798,7 +798,7 @@ dependencies = [
|
|
|
798
798
|
|
|
799
799
|
[[package]]
|
|
800
800
|
name = "lora-compiler"
|
|
801
|
-
version = "0.
|
|
801
|
+
version = "0.10.0"
|
|
802
802
|
dependencies = [
|
|
803
803
|
"lora-analyzer",
|
|
804
804
|
"lora-ast",
|
|
@@ -807,7 +807,7 @@ dependencies = [
|
|
|
807
807
|
|
|
808
808
|
[[package]]
|
|
809
809
|
name = "lora-database"
|
|
810
|
-
version = "0.
|
|
810
|
+
version = "0.10.0"
|
|
811
811
|
dependencies = [
|
|
812
812
|
"anyhow",
|
|
813
813
|
"chacha20poly1305",
|
|
@@ -830,8 +830,12 @@ dependencies = [
|
|
|
830
830
|
|
|
831
831
|
[[package]]
|
|
832
832
|
name = "lora-executor"
|
|
833
|
-
version = "0.
|
|
833
|
+
version = "0.10.0"
|
|
834
834
|
dependencies = [
|
|
835
|
+
"blake3",
|
|
836
|
+
"crc32fast",
|
|
837
|
+
"flate2",
|
|
838
|
+
"getrandom",
|
|
835
839
|
"lora-analyzer",
|
|
836
840
|
"lora-ast",
|
|
837
841
|
"lora-compiler",
|
|
@@ -839,14 +843,16 @@ dependencies = [
|
|
|
839
843
|
"rayon",
|
|
840
844
|
"regex",
|
|
841
845
|
"serde",
|
|
846
|
+
"serde_json",
|
|
842
847
|
"smallvec 2.0.0-alpha.12",
|
|
843
848
|
"thiserror",
|
|
844
849
|
"tracing",
|
|
850
|
+
"unicode-normalization",
|
|
845
851
|
]
|
|
846
852
|
|
|
847
853
|
[[package]]
|
|
848
854
|
name = "lora-ffi"
|
|
849
|
-
version = "0.
|
|
855
|
+
version = "0.10.0"
|
|
850
856
|
dependencies = [
|
|
851
857
|
"anyhow",
|
|
852
858
|
"lora-binding-buffer",
|
|
@@ -858,7 +864,7 @@ dependencies = [
|
|
|
858
864
|
|
|
859
865
|
[[package]]
|
|
860
866
|
name = "lora-node"
|
|
861
|
-
version = "0.
|
|
867
|
+
version = "0.10.0"
|
|
862
868
|
dependencies = [
|
|
863
869
|
"anyhow",
|
|
864
870
|
"lora-binding-buffer",
|
|
@@ -873,7 +879,7 @@ dependencies = [
|
|
|
873
879
|
|
|
874
880
|
[[package]]
|
|
875
881
|
name = "lora-parser"
|
|
876
|
-
version = "0.
|
|
882
|
+
version = "0.10.0"
|
|
877
883
|
dependencies = [
|
|
878
884
|
"lora-ast",
|
|
879
885
|
"pest",
|
|
@@ -884,7 +890,7 @@ dependencies = [
|
|
|
884
890
|
|
|
885
891
|
[[package]]
|
|
886
892
|
name = "lora-python"
|
|
887
|
-
version = "0.
|
|
893
|
+
version = "0.10.0"
|
|
888
894
|
dependencies = [
|
|
889
895
|
"anyhow",
|
|
890
896
|
"lora-database",
|
|
@@ -894,9 +900,22 @@ dependencies = [
|
|
|
894
900
|
"serde_json",
|
|
895
901
|
]
|
|
896
902
|
|
|
903
|
+
[[package]]
|
|
904
|
+
name = "lora-query-wasm"
|
|
905
|
+
version = "0.10.0"
|
|
906
|
+
dependencies = [
|
|
907
|
+
"console_error_panic_hook",
|
|
908
|
+
"js-sys",
|
|
909
|
+
"lora-ast",
|
|
910
|
+
"lora-parser",
|
|
911
|
+
"serde",
|
|
912
|
+
"serde-wasm-bindgen",
|
|
913
|
+
"wasm-bindgen",
|
|
914
|
+
]
|
|
915
|
+
|
|
897
916
|
[[package]]
|
|
898
917
|
name = "lora-server"
|
|
899
|
-
version = "0.
|
|
918
|
+
version = "0.10.0"
|
|
900
919
|
dependencies = [
|
|
901
920
|
"anyhow",
|
|
902
921
|
"axum",
|
|
@@ -910,7 +929,7 @@ dependencies = [
|
|
|
910
929
|
|
|
911
930
|
[[package]]
|
|
912
931
|
name = "lora-snapshot"
|
|
913
|
-
version = "0.
|
|
932
|
+
version = "0.10.0"
|
|
914
933
|
dependencies = [
|
|
915
934
|
"argon2",
|
|
916
935
|
"blake3",
|
|
@@ -924,7 +943,7 @@ dependencies = [
|
|
|
924
943
|
|
|
925
944
|
[[package]]
|
|
926
945
|
name = "lora-store"
|
|
927
|
-
version = "0.
|
|
946
|
+
version = "0.10.0"
|
|
928
947
|
dependencies = [
|
|
929
948
|
"crc32fast",
|
|
930
949
|
"js-sys",
|
|
@@ -935,7 +954,7 @@ dependencies = [
|
|
|
935
954
|
|
|
936
955
|
[[package]]
|
|
937
956
|
name = "lora-wal"
|
|
938
|
-
version = "0.
|
|
957
|
+
version = "0.10.0"
|
|
939
958
|
dependencies = [
|
|
940
959
|
"crc32fast",
|
|
941
960
|
"lora-store",
|
|
@@ -945,7 +964,7 @@ dependencies = [
|
|
|
945
964
|
|
|
946
965
|
[[package]]
|
|
947
966
|
name = "lora-wasm"
|
|
948
|
-
version = "0.
|
|
967
|
+
version = "0.10.0"
|
|
949
968
|
dependencies = [
|
|
950
969
|
"anyhow",
|
|
951
970
|
"console_error_panic_hook",
|
|
@@ -961,7 +980,7 @@ dependencies = [
|
|
|
961
980
|
|
|
962
981
|
[[package]]
|
|
963
982
|
name = "lora_ruby"
|
|
964
|
-
version = "0.
|
|
983
|
+
version = "0.10.0"
|
|
965
984
|
dependencies = [
|
|
966
985
|
"anyhow",
|
|
967
986
|
"lora-database",
|
|
@@ -1674,6 +1693,21 @@ dependencies = [
|
|
|
1674
1693
|
"serde_json",
|
|
1675
1694
|
]
|
|
1676
1695
|
|
|
1696
|
+
[[package]]
|
|
1697
|
+
name = "tinyvec"
|
|
1698
|
+
version = "1.11.0"
|
|
1699
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1700
|
+
checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3"
|
|
1701
|
+
dependencies = [
|
|
1702
|
+
"tinyvec_macros",
|
|
1703
|
+
]
|
|
1704
|
+
|
|
1705
|
+
[[package]]
|
|
1706
|
+
name = "tinyvec_macros"
|
|
1707
|
+
version = "0.1.1"
|
|
1708
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1709
|
+
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
|
1710
|
+
|
|
1677
1711
|
[[package]]
|
|
1678
1712
|
name = "tokio"
|
|
1679
1713
|
version = "1.50.0"
|
|
@@ -1777,6 +1811,15 @@ version = "1.0.24"
|
|
|
1777
1811
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1778
1812
|
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
1779
1813
|
|
|
1814
|
+
[[package]]
|
|
1815
|
+
name = "unicode-normalization"
|
|
1816
|
+
version = "0.1.25"
|
|
1817
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1818
|
+
checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
|
|
1819
|
+
dependencies = [
|
|
1820
|
+
"tinyvec",
|
|
1821
|
+
]
|
|
1822
|
+
|
|
1780
1823
|
[[package]]
|
|
1781
1824
|
name = "unicode-segmentation"
|
|
1782
1825
|
version = "1.13.2"
|
|
@@ -4,7 +4,7 @@ resolver = "2"
|
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.10.0"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,16 +15,16 @@ rust-version = "1.87"
|
|
|
15
15
|
# Internal crates — versions are kept in lockstep with [workspace.package].version
|
|
16
16
|
# by `scripts/sync-versions.mjs`. Both `path` and `version` are set so that
|
|
17
17
|
# `cargo publish` works (crates.io cannot resolve path-only deps).
|
|
18
|
-
lora-ast = { path = "crates/lora-ast", version = "=0.
|
|
19
|
-
lora-parser = { path = "crates/lora-parser", version = "=0.
|
|
20
|
-
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.
|
|
21
|
-
lora-compiler = { path = "crates/lora-compiler", version = "=0.
|
|
22
|
-
lora-store = { path = "crates/lora-store", version = "=0.
|
|
23
|
-
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.
|
|
24
|
-
lora-wal = { path = "crates/lora-wal", version = "=0.
|
|
25
|
-
lora-executor = { path = "crates/lora-executor", version = "=0.
|
|
26
|
-
lora-database = { path = "crates/lora-database", version = "=0.
|
|
27
|
-
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.10.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.10.0" }
|
|
20
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.10.0" }
|
|
21
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.10.0" }
|
|
22
|
+
lora-store = { path = "crates/lora-store", version = "=0.10.0" }
|
|
23
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.10.0", default-features = false }
|
|
24
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.10.0" }
|
|
25
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.10.0", default-features = false }
|
|
26
|
+
lora-database = { path = "crates/lora-database", version = "=0.10.0" }
|
|
27
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.10.0" }
|
|
28
28
|
|
|
29
29
|
# External crates.
|
|
30
30
|
anyhow = "1"
|
|
@@ -38,6 +38,7 @@ pest_derive = "2"
|
|
|
38
38
|
serde = { version = "1", features = ["derive"] }
|
|
39
39
|
serde_json = "1.0.149"
|
|
40
40
|
regex = "1"
|
|
41
|
+
unicode-normalization = "0.1"
|
|
41
42
|
tower = "0.5.3"
|
|
42
43
|
criterion = { version = "0.8.2", features = ["html_reports"] }
|
|
43
44
|
crc32fast = "1.4"
|
|
@@ -163,7 +163,7 @@ async def test_async_stream_and_transaction_helpers() -> None:
|
|
|
163
163
|
db = await AsyncDatabase.create()
|
|
164
164
|
results = await db.transaction(
|
|
165
165
|
[
|
|
166
|
-
{"query": "UNWIND range(1, 3) AS i CREATE (:S {i: i})"},
|
|
166
|
+
{"query": "UNWIND list.range(1, 3) AS i CREATE (:S {i: i})"},
|
|
167
167
|
{"query": "MATCH (n:S) RETURN n.i AS i ORDER BY i"},
|
|
168
168
|
]
|
|
169
169
|
)
|
|
@@ -279,7 +279,7 @@ def test_roundtrips_nested_map() -> None:
|
|
|
279
279
|
|
|
280
280
|
def test_tagged_date_values() -> None:
|
|
281
281
|
db = Database.create()
|
|
282
|
-
db.execute("CREATE (:E {d:
|
|
282
|
+
db.execute("CREATE (:E {d: cast.to('2025-03-14', DATE)})")
|
|
283
283
|
rows = db.execute("MATCH (n:E) RETURN n.d AS d")["rows"]
|
|
284
284
|
d = rows[0]["d"]
|
|
285
285
|
assert is_temporal(d)
|
|
@@ -356,7 +356,9 @@ def test_tagged_point_values_3d() -> None:
|
|
|
356
356
|
def test_point_from_cypher_constructor_round_trips() -> None:
|
|
357
357
|
"""3D points built inside Cypher emit the canonical external shape."""
|
|
358
358
|
db = Database.create()
|
|
359
|
-
rows = db.execute(
|
|
359
|
+
rows = db.execute(
|
|
360
|
+
"RETURN cast.to({x: 1.0, y: 2.0, z: 3.0}, POINT) AS p",
|
|
361
|
+
)["rows"]
|
|
360
362
|
p = rows[0]["p"]
|
|
361
363
|
assert is_point(p)
|
|
362
364
|
assert p == {
|
|
@@ -391,11 +393,15 @@ def test_invalid_temporal_param_raises_invalid_params_error() -> None:
|
|
|
391
393
|
|
|
392
394
|
|
|
393
395
|
def test_temporal_now_functions_work() -> None:
|
|
394
|
-
# `
|
|
395
|
-
# not raise inside the PyO3 extension.
|
|
396
|
+
# `temporal.now('<kind>')` no-arg-bound forms use the wall clock; they
|
|
397
|
+
# must not raise inside the PyO3 extension.
|
|
396
398
|
db = Database.create()
|
|
397
399
|
r = db.execute(
|
|
398
|
-
"RETURN date
|
|
400
|
+
"RETURN temporal.now('date') AS d,"
|
|
401
|
+
" temporal.now('datetime') AS dt,"
|
|
402
|
+
" temporal.now('time') AS t,"
|
|
403
|
+
" temporal.now('local_datetime') AS ldt,"
|
|
404
|
+
" temporal.now('local_time') AS lt",
|
|
399
405
|
)
|
|
400
406
|
row = r["rows"][0]
|
|
401
407
|
for key in ("d", "dt", "t", "ldt", "lt"):
|
|
@@ -413,7 +419,7 @@ def test_vector_return_has_tagged_shape() -> None:
|
|
|
413
419
|
from lora_python import is_vector
|
|
414
420
|
|
|
415
421
|
db = Database.create()
|
|
416
|
-
r = db.execute("RETURN
|
|
422
|
+
r = db.execute("RETURN [1, 2, 3]::VECTOR<INTEGER>(3) AS v")
|
|
417
423
|
v = r["rows"][0]["v"]
|
|
418
424
|
assert is_vector(v)
|
|
419
425
|
assert v["dimension"] == 3
|
|
@@ -441,7 +447,7 @@ def test_vector_parameter_used_in_similarity_function() -> None:
|
|
|
441
447
|
db = Database.create()
|
|
442
448
|
query = vector([1.0, 0.0, 0.0], 3, "FLOAT32")
|
|
443
449
|
r = db.execute(
|
|
444
|
-
"RETURN vector.similarity
|
|
450
|
+
"RETURN vector.similarity([1.0, 0.0, 0.0]::VECTOR<FLOAT32>(3), $q) AS s",
|
|
445
451
|
{"q": query},
|
|
446
452
|
)
|
|
447
453
|
assert abs(r["rows"][0]["s"] - 1.0) < 1e-6
|
|
@@ -498,7 +504,7 @@ def test_stream_and_transaction_helpers() -> None:
|
|
|
498
504
|
db = Database.create()
|
|
499
505
|
results = db.transaction(
|
|
500
506
|
[
|
|
501
|
-
{"query": "UNWIND range(1, 3) AS i CREATE (:S {i: i})"},
|
|
507
|
+
{"query": "UNWIND list.range(1, 3) AS i CREATE (:S {i: i})"},
|
|
502
508
|
{"query": "MATCH (n:S) RETURN n.i AS i ORDER BY i"},
|
|
503
509
|
]
|
|
504
510
|
)
|
|
@@ -508,7 +514,7 @@ def test_stream_and_transaction_helpers() -> None:
|
|
|
508
514
|
2,
|
|
509
515
|
3,
|
|
510
516
|
]
|
|
511
|
-
stream = db.stream("UNWIND range(1, 3) AS i CREATE (:EarlyClose {i: i}) RETURN i")
|
|
517
|
+
stream = db.stream("UNWIND list.range(1, 3) AS i CREATE (:EarlyClose {i: i}) RETURN i")
|
|
512
518
|
assert next(stream)["i"] == 1
|
|
513
519
|
stream.close()
|
|
514
520
|
assert db.node_count == 3
|
|
@@ -536,3 +542,61 @@ def test_is_vector_returns_false_for_non_vectors() -> None:
|
|
|
536
542
|
assert is_vector({"kind": "node", "id": 1}) is False
|
|
537
543
|
assert is_vector(42) is False
|
|
538
544
|
assert is_vector("vector") is False
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
# -- v0.10 namespaced built-ins ------------------------------------------------
|
|
548
|
+
#
|
|
549
|
+
# The Cypher surface ships a namespaced built-in library (`<namespace>.<op>`)
|
|
550
|
+
# with Cypher historical spellings resolving through the analyzer's alias
|
|
551
|
+
# table. These tests pin both shapes through the binding.
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
def test_namespaced_string_list_math_value_builtins() -> None:
|
|
555
|
+
db = Database.create()
|
|
556
|
+
r = db.execute(
|
|
557
|
+
"""RETURN string.upper('hello') AS upper,
|
|
558
|
+
string.lower('WORLD') AS lower,
|
|
559
|
+
list.first([10, 20, 30]) AS head,
|
|
560
|
+
math.clamp($x, 0, 100) AS bounded,
|
|
561
|
+
value.coalesce($maybe, 'fallback') AS pick""",
|
|
562
|
+
{"x": 250, "maybe": None},
|
|
563
|
+
)
|
|
564
|
+
row = r["rows"][0]
|
|
565
|
+
assert row["upper"] == "HELLO"
|
|
566
|
+
assert row["lower"] == "world"
|
|
567
|
+
assert row["head"] == 10
|
|
568
|
+
assert row["bounded"] == 100
|
|
569
|
+
assert row["pick"] == "fallback"
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
def test_cypher_aliases_resolve_to_canonical_builtins() -> None:
|
|
573
|
+
db = Database.create()
|
|
574
|
+
r = db.execute(
|
|
575
|
+
"""RETURN head([10, 20, 30]) AS head_alias,
|
|
576
|
+
toLower('WORLD') AS lower_alias,
|
|
577
|
+
coalesce(null, 'fallback') AS pick_alias,
|
|
578
|
+
substring('hello-world', 6, 5) AS sub,
|
|
579
|
+
toInteger('42') AS as_int""",
|
|
580
|
+
)
|
|
581
|
+
row = r["rows"][0]
|
|
582
|
+
assert row["head_alias"] == 10
|
|
583
|
+
assert row["lower_alias"] == "world"
|
|
584
|
+
assert row["pick_alias"] == "fallback"
|
|
585
|
+
assert row["sub"] == "world"
|
|
586
|
+
assert row["as_int"] == 42
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
def test_type_and_cast_namespaces() -> None:
|
|
590
|
+
db = Database.create()
|
|
591
|
+
r = db.execute(
|
|
592
|
+
"""RETURN type.of($x) AS kind,
|
|
593
|
+
type.is($x, INTEGER) AS is_int,
|
|
594
|
+
cast.to('99', INTEGER) AS cast_ok,
|
|
595
|
+
cast.try('not-a-number', INTEGER) AS try_bad""",
|
|
596
|
+
{"x": 7},
|
|
597
|
+
)
|
|
598
|
+
row = r["rows"][0]
|
|
599
|
+
assert row["kind"] == "INTEGER"
|
|
600
|
+
assert row["is_int"] is True
|
|
601
|
+
assert row["cast_ok"] == 99
|
|
602
|
+
assert row["try_bad"] is None
|