diff options
author | Parker <contact@pkrm.dev> | 2024-11-04 23:01:13 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-11-04 23:01:13 -0600 |
commit | 3f8e39cc86ca22c3e94f52d693c90553ef1dfd57 (patch) | |
tree | 0bf2ef55e3250d059f1bdaf8546f2c1f2773ad52 /api/util/db_dependency.py | |
parent | 5a0777033f6733c33fbd6119ade812e0c749be44 (diff) |
Major consolidation and upgrades
Diffstat (limited to 'api/util/db_dependency.py')
-rw-r--r-- | api/util/db_dependency.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/api/util/db_dependency.py b/api/util/db_dependency.py deleted file mode 100644 index a6734ea..0000000 --- a/api/util/db_dependency.py +++ /dev/null @@ -1,9 +0,0 @@ -from database import SessionLocal - - -def get_db(): - db = SessionLocal() - try: - yield db - finally: - db.close() |