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