def wrap(self, app):
        result = publish
        for tween_factory in reversed(self.sorted_tween_factories()):
            result = tween_factory(app, result)
        return result
Wrap app with tweens.
dataset/ETHPy150Open morepath/morepath/morepath/tween.py/TweenRegistry.wrap