Python: QuerySolution is thread safe

pull/724/head
Tpt 12 months ago committed by Thomas Tanon
parent 42a66f62b9
commit 93eab63868
  1. 2
      python/src/sparql.rs

@ -101,7 +101,7 @@ pub fn query_results_to_python(py: Python<'_>, results: QueryResults) -> PyObjec
/// >>> s, p, o = solution /// >>> s, p, o = solution
/// >>> s /// >>> s
/// <NamedNode value=http://example.com> /// <NamedNode value=http://example.com>
#[pyclass(frozen, unsendable, name = "QuerySolution", module = "pyoxigraph")] #[pyclass(frozen, name = "QuerySolution", module = "pyoxigraph")]
pub struct PyQuerySolution { pub struct PyQuerySolution {
inner: QuerySolution, inner: QuerySolution,
} }

Loading…
Cancel
Save