8 Commits (yield)

Author SHA1 Message Date
Sebastián Ramírez 839a5d0a78 💡 Add comment in AsyncExitStackMiddleware 3 days ago
Sebastián Ramírez 366d59a9f4 ♻️ Rename AsyncExitStackMiddleware name in scope do differentiate it from dependencies AsyncExitStack 3 days ago
Sebastián Ramírez 64a83355c7 🔥 Remove holding references to exceptions from dependencies with yield, as those caused memory issues before 3 weeks ago
Sebastián Ramírez 51c5e488e5 ♻️ Refactor AsyncExitStack import from contextlib 3 weeks ago
Sebastián Ramírez adf21d3f23 ↩️ Revert " Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)" 3 weeks ago
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 2 years ago
Sebastián Ramírez 17e49bc9f7
♻️ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available (#9657) 2 years ago
Sebastián Ramírez 9d56a3cb59
Update internal `AsyncExitStack` to fix context for dependencies with `yield` (#4575) 4 years ago