atef.walk.get_relevant_configs_comps

atef.walk.get_relevant_configs_comps(prepared_file: PreparedFile, original_c: Configuration | Comparison) List[PreparedConfiguration | PreparedComparison][source]

Gather all the PreparedConfiguration or PreparedComparison dataclasses that correspond to the original comparison or config.

Phrased another way: maps prepared comparisons onto the comparison seen in the GUI

Currently for passive checkout files only

Parameters:
prepared_filePreparedFile

the file containing configs or comparisons to be gathered

original_cUnion[Configuration, Comparison]

the comparison to match PreparedComparison or PreparedConfigurations to

Returns:
List[Union[PreparedConfiguration, PreparedComparison]]:

the configuration or comparison dataclasses related to original_c