Skip to content

Commit 87dfcce

Browse files
committed
Fix bug
1 parent e71ec02 commit 87dfcce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/sparql_database/src/embedded_oxigraph.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use super::{parse_json_text, SparqlQueryError, SparqlQueryable};
22
use async_trait::async_trait;
3-
use pyo3::types::PyAnyMethods;
3+
use pyo3::types::{PyAnyMethods, PyNone};
44
use pyo3::{Py, PyAny, Python};
55
use sparesults::QuerySolution;
66
use spargebra::Query;
@@ -30,7 +30,7 @@ impl SparqlQueryable for EmbeddedOxigraph {
3030
.store
3131
.call_method1(py, "query", (query.to_string(),))
3232
.unwrap()
33-
.call_method1(py, "serialize", ((), json_format))
33+
.call_method1(py, "serialize", (PyNone::get(py), json_format))
3434
.unwrap();
3535
let json_bytes: Vec<u8> = json.extract(py).unwrap();
3636
let json_string = String::from_utf8(json_bytes).unwrap();

py_chrontext/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "chrontext"
33
description = "Hybrid SPARQL query engine for timeseries data"
4-
dependencies = ["polars>=0.20.2",
4+
dependencies = ["polars>=1.27.1",
55
"pyarrow>=7.0.0",
66
"pandas",
77
"sqlalchemy>=2.0.31",
88
"sqlalchemy-bigquery>=1.11.0",
99
"databricks-sqlalchemy>=2.0.4",
1010
"databricks-sql-connector>=3.3.0",
11-
"pyoxigraph>=0.4.2"]
11+
"pyoxigraph>=0.4.9"]
1212
readme = "README.md"
1313
authors = [{ name = "Magnus Bakken", email = "magnus@data-treehouse.com" }]
1414
license = { file = "LICENSE" }

0 commit comments

Comments
 (0)