Skip to content

Commit

Permalink
Fix pyo3 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Mar 26, 2024
1 parent 160c6b4 commit 8617c67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ if you have ideas for improvement.

# Status

Experimental. Development is on pause: I deprioritized this project.
Experimental. Active development is on pause, so very limited support at this time.
2 changes: 1 addition & 1 deletion vrp-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ mod py_interop {
}

#[pymodule]
fn vrp_cli(_py: Python, m: &PyModule) -> PyResult<()> {
fn vrp_cli(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(convert_to_pragmatic, m)?)?;
m.add_function(wrap_pyfunction!(get_routing_locations, m)?)?;
m.add_function(wrap_pyfunction!(solve_pragmatic, m)?)?;
Expand Down

0 comments on commit 8617c67

Please sign in to comment.