MCPcopy Create free account
hub / github.com/MemTensor/MemOS / import_graph

Method import_graph

src/memos/graph_dbs/base.py:268–274  ·  view source on GitHub ↗

Import the entire graph from a serialized dictionary. Args: data: A dictionary containing all nodes and edges to be loaded.

(self, data: dict[str, Any])

Source from the content-addressed store, hash-verified

266
267 @abstractmethod
268 def import_graph(self, data: dict[str, Any]) -> None:
269 """
270 Import the entire graph from a serialized dictionary.
271
272 Args:
273 data: A dictionary containing all nodes and edges to be loaded.
274 """
275
276 @abstractmethod
277 def get_all_memory_items(

Callers 3

loadMethod · 0.45
run_user_sessionFunction · 0.45
load_cube.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected