def setup_dbsession():
    engine = create_engine(conf.ini_config.get('sqlalchemy', 'connection_string'))
    sessionm = sessionmaker()
    sessionm.configure(bind=engine)
    return sessionm()
def setup_dbsession():
    engine = create_engine(conf.ini_config.get('sqlalchemy', 'connection_string'))
    sessionm = sessionmaker()
    sessionm.configure(bind=engine)
    return sessionm()