Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 794 for py (0.01 sec)

  1. docs/pt/docs/advanced/testing-websockets.md

    # Testando WebSockets
    
    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note | Nota
    
    Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 467 bytes
    - Viewed (0)
  2. docs/em/docs/advanced/testing-events.md

    # 🔬 🎉: 🕴 - 🤫
    
    🕐❔ 👆 💪 👆 🎉 🐕‍🦺 (`startup` &amp; `shutdown`) 🏃 👆 💯, 👆 💪 ⚙️ `TestClient` ⏮️ `with` 📄:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 225 bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/middleware.md

        * Luego devuelve la `response` generada por la correspondiente *path operation*.
    * Puedes entonces modificar aún más la `response` antes de devolverla.
    
    {* ../../docs_src/middleware/tutorial001.py hl[8:9,11,14] *}
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/testing-events.md

    # Testing Events: startup - shutdown
    
    Cuando necesitas que tus manejadores de eventos (`startup` y `shutdown`) se ejecuten en tus tests, puedes usar el `TestClient` con un statement `with`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 254 bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request-forms-and-files.md

    ///
    
    ## Importe `File` e `Form`
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[1] *}
    
    ## Defina parâmetros de `File` e `Form`
    
    Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[8] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/testing-websockets.md

    # 🔬 *️⃣
    
    👆 💪 ⚙️ 🎏 `TestClient` 💯*️⃣.
    
    👉, 👆 ⚙️ `TestClient` `with` 📄, 🔗*️⃣:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note
    
    🌅 ℹ, ✅ 💃 🧾 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">🔬 *️⃣ </a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 352 bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/testing-events.md

    # 이벤트 테스트: 시작 - 종료
    
    테스트에서 이벤트 핸들러(`startup` 및 `shutdown`)를 실행해야 하는 경우, `with` 문과 함께 `TestClient`를 사용할 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 262 bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/cookie-param-models.md

    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/index.md

    &amp; ⤴️ ⚫️ 📨 `dict` ⚗ 📚 💲.
    
    ### 🗄 `Depends`
    
    {* ../../docs_src/dependencies/tutorial001.py hl[3] *}
    
    ### 📣 🔗, "⚓️"
    
    🎏 🌌 👆 ⚙️ `Body`, `Query`, ♒️. ⏮️ 👆 *➡ 🛠️ 🔢* 🔢, ⚙️ `Depends` ⏮️ 🆕 🔢:
    
    {* ../../docs_src/dependencies/tutorial001.py hl[15,20] *}
    
    👐 👆 ⚙️ `Depends` 🔢 👆 🔢 🎏 🌌 👆 ⚙️ `Body`, `Query`, ♒️, `Depends` 👷 👄 🎏.
    
    👆 🕴 🤝 `Depends` 👁 🔢.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## Importar `File` y `Form`
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Definir parámetros `File` y `Form`
    
    Crea parámetros de archivo y formulario de la misma manera que lo harías para `Body` o `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top