fix: duplicate session commit in step logging (#7512)
* fix: duplicate session commit in step logging * update all callsites
This commit is contained in:
@@ -218,7 +218,8 @@ async def clear_tables():
|
||||
async with db_registry.async_session() as session:
|
||||
await session.execute(delete(SandboxEnvironmentVariable))
|
||||
await session.execute(delete(SandboxConfig))
|
||||
await session.commit()
|
||||
# context manager now handles commits
|
||||
# await session.commit()
|
||||
|
||||
|
||||
# --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user