MCPcopy Create free account
hub / github.com/Pometry/Raphtory / __hash__

Method __hash__

raphtory/src/python/graph/node.rs:149–151  ·  view source on GitHub ↗

Returns the hash of the node. Returns: The node id.:

(&self)

Source from the content-addressed store, hash-verified

147 /// Returns:
148 /// The node id.:
149 pub fn __hash__(&self) -> u64 {
150 calculate_hash(&self.node.id())
151 }
152
153 /// Returns the id of the node.
154 /// This is a unique identifier for the node.

Callers

nothing calls this directly

Calls 2

calculate_hashFunction · 0.85
idMethod · 0.45

Tested by

no test coverage detected