hutch_python.utils.count_ns_leaves¶
-
hutch_python.utils.
count_ns_leaves
(namespace)¶ Count the number of objects in a nested
IterableNamespace
.Given an
IterableNamespace
that contains otherIterableNamespace
objects that may in themselves containIterableNamespace
objects, determine how many non-IterableNamespace
objects are in the tree.