(self)
return case_relationships_by_child_type
Returns a `defaultdict(set)` of case_type => set of (parent_type, relationship)

        where relationship is almost always "parent" (but can technically be any word-string).

        This based on all case-subcase relationships appearing in all relevant forms.
Returns a `defaultdict(set)` of case_type => set of (parent_type, relationship)
Returns a defaultdict ( set ) of case_type = > set of ( parent_type relationship )
def get_case_relationships(self):
        """
        Returns a `defaultdict(set)` of case_type => set of (parent_type, relationship)

        where relationship is almost always "parent" (but can technically be any word-string).

        This based on all case-subcase relationships appearing in all relevant forms.

        """
        case_relationships_by_child_type = defaultdict(set)

        for form in self._get_relevant_forms():
            for case_type, case_relationships in form.get_contributed_case_relationships().items():
                case_relationships_by_child_type[case_type].update(case_relationships)
        return case_relationships_by_child_type
def get_case_relationships ( self ) : case_relationships_by_child_type = defaultdict ( set ) for form in self . _get_relevant_forms ( ) : for case_type , case_relationships in form . get_contributed_case_relationships ( ) . items ( ) : case_relationships_by_child_type [ case_type ] . update ( case_relationships ) return case_relationships_by_child_type