human
Complete the below
def filter_factory(global_conf, **local_conf):

    ''''Standard filter factory to use the middleware with paste.deploy'
    '''

Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    conf = global_conf.copy()
    conf.update(local_conf)
    def swift3_filter(app):
        return Swift3Middleware(app, conf)
    return swift3_filter