reno.utils.ref_universe#
- reno.utils.ref_universe(refs, depth=1)#
Fancier recursive seek_refs, useful for collecting the full set of references to and from any in the given set of passed refs.
Given a set of references, expand outwards
depthtimes to find other references used.- Parameters:
refs (list[reno.components.TrackedReference]) – The references to start expanding outwards from.
depth (int) – How many steps outward to take finding dependencies from the initial references list.
- Returns:
A list (including the initial references) of expanded dependencies/dependents.
- Return type:
list[TrackedReference]