From 092c0ee83a1c9b12d3455036a7d01a9205f31419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 29 Sep 2025 05:17:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs,=20remove=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/advanced/advanced-dependencies.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/docs/advanced/advanced-dependencies.md b/docs/en/docs/advanced/advanced-dependencies.md index 826ab0975..e0404b389 100644 --- a/docs/en/docs/advanced/advanced-dependencies.md +++ b/docs/en/docs/advanced/advanced-dependencies.md @@ -86,8 +86,6 @@ This change also meant that if you returned a `StreamingResponse`, the exit code For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`. -So, the change was not really optimizing much, but it was breaking use cases. - This behavior was reverted in 0.118.0, to make the exit code after `yield` be executed after the response is sent. /// info