MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / set_graph_metadata

Method set_graph_metadata

python/src/workflow/workflow.rs:88–93  ·  view source on GitHub ↗

Set graph-level metadata key to a boolean value Exposes core graph.set_metadata for Python tests and configuration

(&mut self, key: String, value: bool)

Source from the content-addressed store, hash-verified

86 /// Set graph-level metadata key to a boolean value
87 /// Exposes core graph.set_metadata for Python tests and configuration
88 fn set_graph_metadata(&mut self, key: String, value: bool) -> PyResult<()> {
89 self.inner
90 .graph
91 .set_metadata(key, serde_json::Value::Bool(value));
92 Ok(())
93 }
94}

Callers

nothing calls this directly

Calls 1

set_metadataMethod · 0.45

Tested by

no test coverage detected