def METHOD_NAME():
    class DummyExecutor(Executor):
        @requests(on='/foo')
        def foo(self, docs, **kwargs):
            ...
        @requests(on='/bar')
        def bar(self, docs, **kwargs):
            ...
    return DummyExecutor