Skip to content

Commit

Permalink
chore(bindings/python): deprecate via_map method
Browse files Browse the repository at this point in the history
  • Loading branch information
TennyZhuang committed Sep 23, 2024
1 parent 362c846 commit c74a5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn build_operator(
scheme: ocore::Scheme,
map: HashMap<String, String>,
) -> PyResult<ocore::Operator> {
let mut op = ocore::Operator::via_map(scheme, map).map_err(format_pyerr)?;
let mut op = ocore::Operator::via_iter(scheme, map).map_err(format_pyerr)?;
if !op.info().full_capability().blocking {
let runtime = pyo3_asyncio::tokio::get_runtime();
let _guard = runtime.enter();
Expand Down

0 comments on commit c74a5a8

Please sign in to comment.