We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 481ce4b commit 8ab094bCopy full SHA for 8ab094b
nx_arangodb/classes/dict/node.py
@@ -324,8 +324,8 @@ def __getitem__(self, key: str) -> NodeAttrDict:
324
if node_id not in self.data and self.FETCHED_ALL_IDS:
325
raise KeyError(key)
326
327
- if vertex_db := vertex_get(self.graph, node_id):
328
- node_attr_dict = self._create_node_attr_dict(vertex_db["_id"], vertex_db)
+ if node := vertex_get(self.graph, node_id):
+ node_attr_dict = self._create_node_attr_dict(node["_id"], node)
329
self.data[node_id] = node_attr_dict
330
331
return node_attr_dict
0 commit comments