def assign(seq, modes, *args, **kwargs):
    def inner(cls):
        for mode in modes:
            mappings[mode][seq] = cls(*args, **kwargs)
        return cls
    return inner
notify listeners
dataset/ETHPy150Open guillermooo/Vintageous/vi/keys.py/assign--crossover with--dataset/ETHPy150Open cmorgan/trading-with-python/lib/eventSystem.py/Sender.dispatch