Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 638 for tipy (0.02 sec)

  1. docs/pt/docs/tutorial/middleware.md

    * Você pode então modificar ainda mais o `response` antes de retorná-lo.
    
    {* ../../docs_src/middleware/tutorial001_py39.py hl[8:9,11,14] *}
    
    /// tip | Dica
    
    Tenha em mente que cabeçalhos proprietários personalizados podem ser adicionados <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">usando o prefixo `X-`</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/websockets.md

    ```
    
    在浏览器中打开 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>。
    
    在页面中,您可以设置:
    
    * "Item ID",用于路径。
    * "Token",作为查询参数。
    
    /// tip
    
    注意,查询参数 `token` 将由依赖项处理。
    
    ///
    
    通过这样,您可以连接 WebSocket,然后发送和接收消息:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## 处理断开连接和多个客户端
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial002_an.py hl[14, 16, 23, 26] *}
    
    ////
    
    //// tab | Python 3.10+ 没Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    {* ../../docs_src/background_tasks/tutorial002_py310.py hl[11, 13, 20, 23] *}
    
    ////
    
    //// tab | Python 3.8+ 没Annotated
    
    /// tip
    
    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    {* ../../docs_src/background_tasks/tutorial002.py hl[13, 15, 22, 25] *}
    
    ////
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Order the parameters as you need { #order-the-parameters-as-you-need }
    
    /// tip
    
    This is probably not as important or necessary if you use `Annotated`.
    
    ///
    
    Let's say that you want to declare the query parameter `q` as a required `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/header-params.md

    ///
    
    ## Headers duplicados { #duplicate-headers }
    
    Es posible recibir headers duplicados. Eso significa, el mismo header con múltiples valores.
    
    Puedes definir esos casos usando una lista en la declaración del tipo.
    
    Recibirás todos los valores del header duplicado como una `list` de Python.
    
    Por ejemplo, para declarar un header de `X-Token` que puede aparecer más de una vez, puedes escribir:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/path-params.md

    /// info | 정보
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">열거형(또는 enums)</a>은 파이썬 버전 3.4 이후로 사용 가능합니다.
    
    ///
    
    /// tip | 팁
    
    혹시 궁금하다면, "AlexNet", "ResNet", 그리고 "LeNet"은 그저 기계 학습 <abbr title="기술적으로 정확히는 딥 러닝 모델 구조">모델</abbr>들의 이름입니다.
    
    ///
    
    ### *경로 매개변수* 선언
    
    생성한 열거형 클래스(`ModelName`)를 사용하는 타입 어노테이션으로 *경로 매개변수*를 만듭니다:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    And an `APIRoute` subclass to use that custom request class.
    
    ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class }
    
    /// tip
    
    This is a toy example to demonstrate how it works, if you need Gzip support, you can use the provided [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/index.md

    В следующих разделах вы увидите другие варианты, конфигурации и дополнительные возможности.
    
    /// tip | Совет
    
    Следующие разделы **не обязательно являются "продвинутыми"**.
    
    И вполне возможно, что для вашего случая использования решение находится в одном из них.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    In this case, the HTTP header `Content-Type` will be set to `application/json`.
    
    And it will be documented as such in OpenAPI.
    
    ///
    
    /// tip
    
    The `ORJSONResponse` is only available in FastAPI, not in Starlette.
    
    ///
    
    ## HTML Response { #html-response }
    
    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    * News about FastAPI and friends 🚀
    * Guides 📝
    * Features ✨
    * Breaking changes 🚨
    * Tips and tricks ✅
    
    ## Follow FastAPI on X (Twitter) { #follow-fastapi-on-x-twitter }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top