MCPcopy Create free account
hub / github.com/DVampire/FinAgent / delete

Method delete

finagent/memory/base.py:32–44  ·  view source on GitHub ↗

Delete by keys. Args: keys: List of keys to delete. **kwargs: Other keyword arguments that subclasses might use. Returns: bool: True if deletion is successful, False otherwise, None if not implemented.

(self,
               *args: Any,
               **kwargs: Any,)

Source from the content-addressed store, hash-verified

30
31 @abc.abstractmethod
32 def delete(self,
33 *args: Any,
34 **kwargs: Any,) -> bool:
35 """Delete by keys.
36
37 Args:
38 keys: List of keys to delete.
39 **kwargs: Other keyword arguments that subclasses might use.
40
41 Returns:
42 bool: True if deletion is successful,
43 False otherwise, None if not implemented.
44 """
45
46 @abc.abstractmethod
47 def similarity_search(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected