@classmethod
    def events(cls):

        handlers = (
            getattr(cls, k).names for k in dir(cls)
            if getattr(getattr(cls, k), "handler", False)
        )

        return list(set(
            name for name in chain(*handlers)
            if not name.startswith("_")
        ))
A callback invoked every time our player finishes a
dataset/ETHPy150Open circuits/circuits/circuits/core/components.py/BaseComponent.events--crossover with--dataset/ETHPy150Open beetbox/beets/beetsplug/bpd/__init__.py/Server.play_finished