From 8fca3a21ea8bd54f860778fdc0d4abc7f2cf380b Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 22 May 2024 15:58:41 +0200 Subject: [PATCH] :fire: Not useful yet anyway --- src/chore/GenerationContext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chore/GenerationContext.py b/src/chore/GenerationContext.py index ec8cf2f..d2e2e28 100644 --- a/src/chore/GenerationContext.py +++ b/src/chore/GenerationContext.py @@ -8,6 +8,7 @@ from ..models import Video, SessionLocal class GenerationContext: def store_in_db(self): + return with SessionLocal() as db: db.add( Video(