(s: &str)
| 248 | } |
| 249 | |
| 250 | fn 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 | } |