MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / set_variable

Method set_variable

python/src/tools/executor.rs:217–219  ·  view source on GitHub ↗
(&mut self, key: String, value: Value)

Source from the content-addressed store, hash-verified

215 }
216
217 fn set_variable(&mut self, key: String, value: Value) {
218 self.variables.insert(key, value);
219 }
220
221 fn get_variable(&self, key: &str) -> Option<&Value> {
222 self.variables.get(key)

Callers 1

execute_toolsMethod · 0.45

Calls 2

insertMethod · 0.80
python_to_json_valueMethod · 0.80

Tested by

no test coverage detected