Skip to content

Commit

Permalink
Fixed documentation to state nodes instead of edges for find_nodes (#…
Browse files Browse the repository at this point in the history
…1648)

Merging as this works - just having some minor issue with ssh keys not working for forks
  • Loading branch information
brandon-haugen authored Jun 10, 2024
1 parent 1e984cd commit 566a7c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raphtory/src/python/graph/views/graph_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ impl PyGraphView {
self.graph.node(id)
}

/// Get the edges that match the properties name and value
/// Get the nodes that match the properties name and value
/// Arguments:
/// property_dict (dict): the properties name and value
/// Returns:
/// the edges that match the properties name and value
/// the nodes that match the properties name and value
#[pyo3(signature = (properties_dict))]
pub fn find_nodes(&self, properties_dict: HashMap<String, Prop>) -> Vec<PyNode> {
let iter = self.nodes().into_iter().par_bridge();
Expand Down

0 comments on commit 566a7c7

Please sign in to comment.