polaris.component_graph.get_components_in_use
- polaris.component_graph.get_components_in_use(tasks)[source]
Get the components referenced by the given tasks: the component of each task, of each step in those tasks and, recursively, of each step dependency.
A task may include steps from components other than its own, so this is not simply the set of components that own the tasks.
- Parameters:
tasks (dict of polaris.Task) – Tasks to scan for referenced components
- Returns:
components (list of polaris.Component) – The components in use, in the order they were first encountered