MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / get

Method get

methods/mem0/client/main.py:728–733  ·  view source on GitHub ↗
(self, memory_id: str)

Source from the content-addressed store, hash-verified

726
727 @api_error_handler
728 async def get(self, memory_id: str) -> Dict[str, Any]:
729 params = self.sync_client._prepare_params()
730 response = await self.async_client.get(f"/v1/memories/{memory_id}/", params=params)
731 response.raise_for_status()
732 capture_client_event("async_client.get", self.sync_client, {"memory_id": memory_id})
733 return response.json()
734
735 @api_error_handler
736 async def get_all(self, version: str = "v1", **kwargs) -> List[Dict[str, Any]]:

Callers

nothing calls this directly

Calls 4

capture_client_eventFunction · 0.90
_prepare_paramsMethod · 0.80
getMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected