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

Method delete_all

methods/mem0/client/main.py:780–785  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

778
779 @api_error_handler
780 async def delete_all(self, **kwargs) -> Dict[str, str]:
781 params = self.sync_client._prepare_params(kwargs)
782 response = await self.async_client.delete("/v1/memories/", params=params)
783 response.raise_for_status()
784 capture_client_event("async_client.delete_all", self.sync_client, {"keys": list(kwargs.keys())})
785 return response.json()
786
787 @api_error_handler
788 async def history(self, memory_id: str) -> List[Dict[str, Any]]:

Callers

nothing calls this directly

Calls 6

capture_client_eventFunction · 0.90
_prepare_paramsMethod · 0.80
listFunction · 0.50
deleteMethod · 0.45
keysMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected