Exemplo n.º 1
0
def connect_to_zipcode_db():
    return engine_creator.create_sqlite(path=db_file_path.abspath)
Exemplo n.º 2
0
def connect_to_zipcode_db(db_file_dir):
    return engine_creator.create_sqlite(
        path=get_db_file_path(db_file_dir).abspath)
Exemplo n.º 3
0
def connect_to_zipcode_db(db_file_dir):
    return engine_creator.create_sqlite(
        path=get_db_file_path(db_file_dir).abspath,
        pool_recycle=3600,
        isolation_level="READ UNCOMMITTED",
        connect_args={'check_same_thread': False})