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

Method update_node

src/memos/graph_dbs/base.py:45–52  ·  view source on GitHub ↗

Update attributes of an existing node. Args: id: Node identifier to be updated. fields: Dictionary of fields to update. user_name: given user_name

(self, id: str, fields: dict[str, Any], user_name: str | None = None)

Source from the content-addressed store, hash-verified

43
44 @abstractmethod
45 def update_node(self, id: str, fields: dict[str, Any], user_name: str | None = None) -> None:
46 """
47 Update attributes of an existing node.
48 Args:
49 id: Node identifier to be updated.
50 fields: Dictionary of fields to update.
51 user_name: given user_name
52 """
53
54 @abstractmethod
55 def delete_node(self, id: str) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected