From aa7a782a5fd005daddcaeed916ef303a63a700b7 Mon Sep 17 00:00:00 2001 From: Rodrigo Rafik Date: Sat, 31 May 2025 11:21:43 -0300 Subject: [PATCH] added database description --- app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main.py b/app/main.py index 3f722bc..b6ef3f2 100644 --- a/app/main.py +++ b/app/main.py @@ -11,6 +11,7 @@ Base.metadata.create_all(bind=engine) app = FastAPI() +# Dependency to get the database session def get_db(): db = SessionLocal() try: