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

Method metadata

core/src/workflow.rs:138–141  ·  view source on GitHub ↗

Add metadata

(mut self, key: String, value: serde_json::Value)

Source from the content-addressed store, hash-verified

136
137 /// Add metadata
138 pub fn metadata(mut self, key: String, value: serde_json::Value) -> Self {
139 self.workflow.set_metadata(key, value);
140 self
141 }
142
143 /// Build the workflow
144 pub fn build(self) -> GraphBitResult<Workflow> {

Calls 1

set_metadataMethod · 0.45

Tested by 4

create_test_workflowFunction · 0.36
test_workflow_executorFunction · 0.36
test_type_conversionsFunction · 0.36