MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / get_id

Method get_id

memory_graph/node_base.py:48–52  ·  view source on GitHub ↗

Return the id of the node.

(self)

Source from the content-addressed store, hash-verified

46 return self.parent_indices
47
48 def get_id(self):
49 """
50 Return the id of the node.
51 """
52 return id(self.data)
53
54 def __eq__(self, other):
55 """

Callers 7

__eq__Method · 0.95
__hash__Method · 0.95
get_nameMethod · 0.95
add_parent_indicesFunction · 0.80
add_indices_to_parentsFunction · 0.80
get_node_colorFunction · 0.80
get_node_verticalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected