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

Method compute

raphtory/src/python/graph/node_state/node_state_latest_time.rs:158–162  ·  view source on GitHub ↗

Compute all DateTime values and return the result as a NodeState. Fails if any DateTime error is encountered. Returns: NodeStateOptionDateTime: the computed `NodeState`

(
        &self,
    )

Source from the content-addressed store, hash-verified

156 /// Returns:
157 /// NodeStateOptionDateTime: the computed `NodeState`
158 fn compute(
159 &self,
160 ) -> Result<NodeState<'static, Option<DateTime<Utc>>, DynamicGraph>, TimeError> {
161 self.inner.compute_result_type()
162 }
163
164 /// Compute all DateTime values and only return the valid results as a NodeState. DateTime errors are ignored.
165 ///

Callers 3

sorted_by_idMethod · 0.45
top_kMethod · 0.45
bottom_kMethod · 0.45

Calls 1

compute_result_typeMethod · 0.80

Tested by

no test coverage detected