def save_node(self, node: Union[Node, dict]) -> Node: node = Node.create(node) self.graph.save_node(node) return node
def save_node(self, node: Node) -> Node: node = self.proxy.save_node(node) node = Node.create(node) if node else None return node
def remove_node(self, key: str) -> Node: node = self.proxy.remove_node(key) node = Node.create(node) if node else None return node
def get_node(self, key: str) -> Optional[Node]: node = self.proxy.get_node(key) node = Node.create(node) if node else None return node