Skip to content

Commit

Permalink
Set name of pyclass to SimpleCycleIter for backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Nov 18, 2024
1 parent 8d66d67 commit 081aa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectivity/johnson_simple_cycles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use pyo3::prelude::*;
use crate::iterators::NodeIndices;
use rustworkx_core::connectivity::{johnson_simple_cycles, SimpleCycleIter};

#[pyclass(module = "rustworkx")]
#[pyclass(module = "rustworkx", name = "SimpleCycleIter")]
pub struct PySimpleCycleIter {
graph_clone: Py<PyDiGraph>,
iter: SimpleCycleIter,
Expand Down

0 comments on commit 081aa3c

Please sign in to comment.