From 5f02478c967da8e89c75aa32026ad4c6c2c51bc4 Mon Sep 17 00:00:00 2001 From: Ludwig Schneider Date: Tue, 12 Mar 2024 16:36:18 -0500 Subject: [PATCH] alala --- src/cript/nodes/node_iterator.py | 2 +- src/cript/nodes/uuid_base.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cript/nodes/node_iterator.py b/src/cript/nodes/node_iterator.py index c9613d8b..3e95b47b 100644 --- a/src/cript/nodes/node_iterator.py +++ b/src/cript/nodes/node_iterator.py @@ -36,7 +36,7 @@ def _depth_first(self, node, recursion_depth: int) -> None: field_names = [field.name for field in fields(node._json_attrs)] for attr_name in sorted(field_names): - attr = getattr(node._json_attrs, str(attr_name.name)) + attr = getattr(node._json_attrs, attr_name) node_added = self._handle_child_node(attr, recursion_depth) if node_added: self._depth_first(node, recursion_depth + 1) diff --git a/src/cript/nodes/uuid_base.py b/src/cript/nodes/uuid_base.py index cbb57202..a5d3729e 100644 --- a/src/cript/nodes/uuid_base.py +++ b/src/cript/nodes/uuid_base.py @@ -5,6 +5,7 @@ from cript.nodes.core import BaseNode from cript.nodes.exceptions import CRIPTUUIDException +from cript.nodes.node_iterator import NodeIterator class UUIDBaseNode(BaseNode, ABC):