@classmethod
    def setup(cls, fn):
        if cls._setup is not None:
            raise ValueError("setup function already set to %s" % cls._setup)
        cls._setup = staticmethod(fn)
        return fn
dataset/ETHPy150Open zzzeek/sqlalchemy/examples/performance/__init__.py/Profiler.setup/original