@classmethod
    def populate(cls, class_, subject):
        for subclass in class_.__mro__:
            if cls.all_holds in subclass:
                collection = cls.all_holds[subclass]
                for event_key, raw, propagate in collection.values():
                    if propagate or subclass is class_:
                        # since we can't be sure in what order different
                        # classes in a hierarchy are triggered with
                        # populate(), we rely upon _EventsHold for all event
                        # assignment, instead of using the generic propagate
                        # flag.
                        event_key.with_dispatch_target(subject).\
                            listen(raw=raw, propagate=False)
dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/orm/events.py/_EventsHold.populate/swapped operands of `in`