Skip to main content

extract_node_set_from_value

Function extract_node_set_from_value 

Source
pub fn extract_node_set_from_value(
    value: &(dyn Value + 'static),
) -> Option<String>
Expand description

Walk a type-erased Value looking for the first non-empty source_node_set on an embedded DataPoint. Mirrors Python’s _extract_node_set.

The downcast list below is the canonical set of HasDataPoint container types that the executor recognises. Types not in the list are passed through (return None); add them here in lockstep with new HasDataPoint impls in cognee-models (gap 05-04).