human
Complete this python program:
def filter_factory(global_conf, **local_conf):
assistant
#Here is the Python program you requested.

    """Standard filter factory to use the middleware with paste.deploy
    """
    conf = global_conf.copy()
    conf.update(local_conf)
    def swift3_filter(app):
        return Swift3Middleware(app, conf)
    return swift3_filter