#!/usr/bin/env python3 def create_bridge(): def wrapper(app, extra = None): app.custom_bridge = extra return wrapper