Cached Searching¶
Node Searching with Cache.
Note
These functions require https://pypi.org/project/fastcache/, otherwise caching is not active.
-
anytree.cachedsearch.
findall
(*args, **kwargs)[source]¶ Identical to
search.findall
but cached.
-
anytree.cachedsearch.
findall_by_attr
(*args, **kwargs)[source]¶ Identical to
search.findall_by_attr
but cached.
-
anytree.cachedsearch.
find
(*args, **kwargs)[source]¶ Identical to
search.find
but cached.
-
anytree.cachedsearch.
find_by_attr
(*args, **kwargs)[source]¶ Identical to
search.find_by_attr
but cached.