def app_factory(global_conf, **local_conf):
    conf = global_conf.copy()
    conf.update(local_conf)
    return ObjectController(conf)
paste.deploy app factory for creating WSGI object server apps
dataset/ETHPy150Open openstack/swift/swift/obj/mem_server.py/app_factory