Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 234 (0.17 sec)

  1. 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)
  2. docs/en/docs/release-notes.md

    * Fix OpenAPI documentation of Starlette URL convertors. Specially useful when using `path` convertors, to take a whole path as a parameter, like `/some/url/{p:path}`. PR [#234](https://github.com/tiangolo/fastapi/pull/234) by [@euri10](https://github.com/euri10).
    
    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)
Back to top