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

Function parse_memory_id

python/src/memory/client.rs:250–254  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

248}
249
250fn parse_memory_id(s: &str) -> PyResult<graphbit_core::memory::MemoryId> {
251 graphbit_core::memory::MemoryId::from_string(s).map_err(|e| {
252 pyo3::exceptions::PyValueError::new_err(format!("Invalid memory ID '{s}': {e}"))
253 })
254}

Callers 4

getMethod · 0.85
updateMethod · 0.85
deleteMethod · 0.85
historyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected