(self, dropped)
Drop the given relation and cascade it appropriately to all
        dependent relations.

        :param _CachedRelation dropped: An existing _CachedRelation to drop.
Drop the given relation and cascade it appropriately to all
        dependent relations.
Drop the given relation and cascade it appropriately to all dependent relations .
def _drop_cascade_relation(self, dropped):
        """Drop the given relation and cascade it appropriately to all
        dependent relations.

        :param _CachedRelation dropped: An existing _CachedRelation to drop.
        """
        if dropped not in self.relations:
            fire_event(DropMissingRelation(relation=dropped))
            return
        consequences = self.relations[dropped].collect_consequences()
        fire_event(DropCascade(dropped=dropped, consequences=consequences))
        self._remove_refs(consequences)
def _drop_cascade_relation ( self , dropped ) : if dropped not in self . relations : fire_event ( DropMissingRelation ( relation = dropped ) ) return consequences = self . relations [ dropped ] . collect_consequences ( ) fire_event ( DropCascade ( dropped = dropped , consequences = consequences ) ) self . _remove_refs ( consequences )