datatree.DataTree.subtree#

property DataTree.subtree: Iterator[datatree.treenode.Tree]#

An iterator over all nodes in this tree, including both self and all descendants.

Iterates depth-first.