Skip to content

Commit

Permalink
Fix type hint for search functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JPena-code committed Mar 4, 2024
1 parent 6e37baf commit 6690475
Show file tree
Hide file tree
Showing 7 changed files with 660 additions and 233 deletions.
7 changes: 7 additions & 0 deletions releasenotes/notes/fix-type-search-6abecbc064e1dbf0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Fixed the bug type hint for the :func:`~rustworkx.bfs_search`,
:func:`~rustworkx.dfs_search` and :func:`~rustworkx.dijkstra_search`.
Refer to `#1130 <https://github.com/Qiskit/rustworkx/issues/1130>`__ for
more information.
2 changes: 2 additions & 0 deletions rustworkx-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ mod min_scored;
pub mod token_swapper;
pub mod utils;

pub mod steiner_tree;

// re-export petgraph so there is a consistent version available to users and
// then only need to require rustworkx-core in their dependencies
pub use petgraph;
Loading

0 comments on commit 6690475

Please sign in to comment.