- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 234 (0.13 sec)
-
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
実際、FastAPIは内部的にこれら2つのデコレータを使用しています。 ## `yield`を持つデータベースの依存関係 例えば、これを使ってデータベースセッションを作成し、終了後にそれを閉じることができます。 レスポンスを送信する前に`yield`文を含む前のコードのみが実行されます。 ```Python hl_lines="2 3 4" {!../../../docs_src/dependencies/tutorial007.py!} ``` 生成された値は、*path operations*や他の依存関係に注入されるものです: ```Python hl_lines="4" {!../../../docs_src/dependencies/tutorial007.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1)