- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for blocky (0.38 sec)
-
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
Sie können `async`hrone oder reguläre Funktionen verwenden. **FastAPI** wird bei jeder das Richtige tun, so wie auch bei normalen Abhängigkeiten. ## Eine Abhängigkeit mit `yield` und `try`. Wenn Sie einen `try`-Block in einer Abhängigkeit mit `yield` verwenden, empfangen Sie alle Exceptions, die bei Verwendung der Abhängigkeit geworfen wurden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:10:29 GMT 2024 - 13.5K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
**FastAPI** uses them internally to achieve this. ## Dependencies with `yield` and `HTTPException` You saw that you can use dependencies with `yield` and have `try` blocks that catch exceptions. The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 14.1K bytes - Viewed (0)