Skip to content

Commit 8ab094b

Browse files
committed
fix: var name
1 parent 481ce4b commit 8ab094b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nx_arangodb/classes/dict/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ def __getitem__(self, key: str) -> NodeAttrDict:
324324
if node_id not in self.data and self.FETCHED_ALL_IDS:
325325
raise KeyError(key)
326326

327-
if vertex_db := vertex_get(self.graph, node_id):
328-
node_attr_dict = self._create_node_attr_dict(vertex_db["_id"], vertex_db)
327+
if node := vertex_get(self.graph, node_id):
328+
node_attr_dict = self._create_node_attr_dict(node["_id"], node)
329329
self.data[node_id] = node_attr_dict
330330

331331
return node_attr_dict

0 commit comments

Comments
 (0)