skbio.tree.TreeNode.invalidate_caches#

TreeNode.invalidate_caches(attr=True)[source]#

Delete lookup and attribute caches.

Parameters:
attrbool, optional

If True, invalidate attribute caches created by TreeNode.cache_attr.