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

Method get_metadata

python/src/tools/result.rs:121–123  ·  view source on GitHub ↗

Get metadata value by key

(&self, key: &str)

Source from the content-addressed store, hash-verified

119
120 /// Get metadata value by key
121 pub fn get_metadata(&self, key: &str) -> Option<String> {
122 self.metadata.get(key).map(|v| v.to_string())
123 }
124
125 /// Convert to JSON string representation
126 pub fn to_json(&self) -> PyResult<String> {

Calls 2

to_stringMethod · 0.80
getMethod · 0.45