def main(global_config, **settings):
    engine = engine_from_config(settings, 'sqlalchemy.')
    DBSession.configure(bind=engine)
    Base.metadata.bind = engine
    config = Configurator(settings=settings)
    config.include('pyramid_jinja2')
    config.add_route('home', '/')
    config.add_route('data', '/data')
    config.add_route('dt_19x', '/dt_19x')
    config.add_route('dt_110x', '/dt_110x')
    config.scan()
    return config.make_wsgi_app()
Upload a new image from attributes
dataset/ETHPy150Open Pegase745/sqlalchemy-datatables/examples/pyramid_tut/pyramid_tut/__init__.py/main--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/image/v2/_proxy.py/Proxy.upload_image