(self)
return expansion_to_case_types
Organize equivalences as expansion => set of case_types mapping
Organize equivalences as expansion => set of case_types mapping
Organize equivalences as expansion = > set of case_types mapping
def _expansion_to_case_types(self):
        """Organize equivalences as expansion => set of case_types mapping"""
        expansion_to_case_types = defaultdict(set)
        for equivalence in self._all_possible_equivalences:
            expansion_to_case_types[equivalence.expansion].add(equivalence.case_type)
        return expansion_to_case_types
def _expansion_to_case_types ( self ) : expansion_to_case_types = defaultdict ( set ) for equivalence in self . _all_possible_equivalences : expansion_to_case_types [ equivalence . expansion ] . add ( equivalence . case_type ) return expansion_to_case_types