We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b02fc commit bd6c08fCopy full SHA for bd6c08f
backend/app/db.py
@@ -12,7 +12,7 @@ def get_engine(url: str = settings.database_url) -> Engine:
12
return engine
13
14
15
-def get_session() -> Generator[Session]:
+def get_session() -> Generator[Session, None, None]:
16
with Session(get_engine()) as session:
17
yield session
18
0 commit comments