Skip to content

Commit

Permalink
Remove deprecated scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mongkok committed Feb 13, 2024
1 parent 9e49fe8 commit 175c942
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions debug_toolbar/panels/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ async def add_engines(self, request: Request):
route = request["route"]

if hasattr(route, "dependant"):
if "fastapi_astack" not in request:
async with AsyncExitStack() as stack:
request.scope["fastapi_astack"] = stack

solved_result = await solve_dependencies(
request=request,
dependant=route.dependant,
Expand Down

0 comments on commit 175c942

Please sign in to comment.