Skip to content

Commit

Permalink
Revert "more logging and added autoflush"
Browse files Browse the repository at this point in the history
This reverts commit 47d9e38.
  • Loading branch information
Vince-janv committed Jun 19, 2024
1 parent 47d9e38 commit 733e987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genotype_api/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialise_database(db_uri: str) -> None:
global SESSION, ENGINE

ENGINE = create_engine(db_uri, pool_pre_ping=True)
session_factory = sessionmaker(autoflush=False, bind=ENGINE)
session_factory = sessionmaker(ENGINE)
SESSION = scoped_session(session_factory)


Expand Down

0 comments on commit 733e987

Please sign in to comment.