Skip to main content

infrahub_sdk.topological_sort

Functions

topological_sort

topological_sort(dependency_dict: Mapping[str, Iterable[str]]) -> list[set[str]]

get_cycles

get_cycles(dependency_dict: Mapping[str, Iterable[str]]) -> list[list[str]]

Classes

DependencyCycleExistsError

Methods:

get_cycle_strings

get_cycle_strings(self) -> list[str]