MCPcopy Create free account
hub / github.com/DJWOMS/fastapi_base / get_scope_session

Method get_scope_session

config/database/db_helper.py:25–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 )
24
25 def get_scope_session(self):
26 return async_scoped_session(
27 session_factory=self.session_factory,
28 scopefunc=current_task
29 )
30
31 @asynccontextmanager
32 async def get_db_session(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected