Skip to content

Commit

Permalink
hotfix for traverse
Browse files Browse the repository at this point in the history
  • Loading branch information
szvsw committed Jul 28, 2022
1 parent adf3ee7 commit b70ebac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions archetypal/umi_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,3 +856,7 @@ def parent_child_traversal(parent: UmiBase):
for child in parent.children:
yield parent, child
yield from parent_child_traversal(child)


def traverse(parent):
return parent_child_traversal(parent)

0 comments on commit b70ebac

Please sign in to comment.