Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1911 - 1920 of 2,110 for py$ (0.05 seconds)

  1. docs/ko/docs/advanced/openapi-callbacks.md

    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### 콜백 *경로 처리* 생성하기 { #create-the-callback-path-operation }
    
    콜백 *경로 처리*를 만들려면 위에서 만든 동일한 `APIRouter`를 사용합니다.
    
    일반적인 FastAPI *경로 처리*처럼 보일 것입니다:
    
    * 아마도 받아야 할 body 선언이 있을 것입니다(예: `body: InvoiceEvent`).
    * 그리고 반환해야 할 응답 선언도 있을 수 있습니다(예: `response_model=InvoiceEventReceived`).
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[14:16,19:20,26:30] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/dependencies/index.md

    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Declarando a dependência, no "dependente" { #declare-the-dependency-in-the-dependant }
    
    Da mesma forma que você utiliza `Body`, `Query`, etc. Como parâmetros de sua *função de operação de rota*, utilize `Depends` com um novo parâmetro:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/dependencies/index.md

    ///
    
    ### 匯入 `Depends` { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### 在「被依賴者」(dependant)中宣告依賴 { #declare-the-dependency-in-the-dependant }
    
    和你在「路徑操作函式」參數上使用 `Body`、`Query` 等方式一樣,針對新參數使用 `Depends`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    雖然你在函式參數上使用 `Depends` 的方式和 `Body`、`Query` 等相同,但 `Depends` 的運作方式有點不同。
    
    你只需要傳給 `Depends` 一個參數。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/testing-websockets.md

    Sie können denselben `TestClient` zum Testen von WebSockets verwenden.
    
    Dazu verwenden Sie den `TestClient` in einer `with`-Anweisung, eine Verbindung zum WebSocket herstellend:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Hinweis
    
    Weitere Informationen finden Sie in Starlettes Dokumentation zum [Testen von WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 471 bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Mettre à jour le *chemin d'accès* `/token` { #update-the-token-path-operation }
    
    Créez un `timedelta` avec la durée d'expiration du jeton.
    
    Créez un véritable jeton d'accès JWT et renvoyez-le.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/testing-websockets.md

    Vous pouvez utiliser le même `TestClient` pour tester les WebSockets.
    
    Pour cela, vous utilisez `TestClient` dans une instruction `with`, en vous connectant au WebSocket :
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Remarque
    
    Pour plus de détails, consultez la documentation de Starlette sur le [test des WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 473 bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_lt.md

    ```
    
    Some more text
    
    Missing code block...
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    $ python ./scripts/docs.py live es
    
    <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008
    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 810 bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_lt.md

    ```toml
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    $ python ./scripts/docs.py live es
    
    <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008
    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 892 bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_mermaid_not_translated.md

    ```toml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    $ python ./scripts/docs.py live es
    
    <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008
    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 883 bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/testing-websockets.md

    Вы можете использовать тот же `TestClient` для тестирования WebSocket.
    
    Для этого используйте `TestClient` с менеджером контекста `with`, подключаясь к WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Примечание
    
    Подробности смотрите в документации Starlette по [тестированию WebSocket](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 607 bytes
    - Click Count (0)
Back to Top