Server: basic implementation. Not tested => no python installed; bugfix in ESP (uvicorn on port 8090)

This commit is contained in:
Thomas Karner committed 2026-09-20 23:49:40 +02:00
1 parent 3694cdf207
commit 8a51e3d95e
38 files changed
+2442 -21

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
from __future__ import annotations
from collections.abc import Iterator
from sqlalchemy.orm import Session
from ..db import SessionLocal
def get_db() -> Iterator[Session]:
with SessionLocal() as session:
yield session