MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / get_db

Function get_db

backend/app/services/database.py:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15# Dependency to get DB session
16def get_db():
17 db = SessionLocal()
18 try:
19 yield db
20 finally:
21 db.close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected