Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 495 for tip (0.01 sec)

  1. docs/en/docs/how-to/custom-request-and-route.md

    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    And an `APIRoute` subclass to use that custom request 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/versions.md

    遵循语义版本控制约定,任何低于`1.0.0`的版本都可能会添加 breaking changes。
    
    FastAPI 还遵循这样的约定:任何`PATCH`版本更改都是为了bug修复和non-breaking changes。
    
    /// tip
    
    "PATCH"是最后一个数字,例如,在`0.2.3`中,PATCH版本是`3`。
    
    ///
    
    因此,你应该能够固定到如下版本:
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    "MINOR"版本中会添加breaking changes和新功能。
    
    /// tip
    
    "MINOR"是中间的数字,例如,在`0.2.3`中,MINOR版本是`2`。
    
    ///
    
    ## 升级FastAPI版本
    
    你应该为你的应用程序添加测试。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/index.md

    In den nächsten Abschnitten sehen Sie weitere Optionen, Konfigurationen und zusätzliche Funktionen.
    
    /// tip | "Tipp"
    
    Die nächsten Abschnitte sind **nicht unbedingt „fortgeschritten“**.
    
    Und es ist möglich, dass für Ihren Anwendungsfall die Lösung in einem davon liegt.
    
    ///
    
    ## Lesen Sie zuerst das Tutorial
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/custom-response.md

    Neste caso, o cabeçalho HTTP `Content-Type` irá ser definido como `application/json`.
    
    E será documentado como tal no OpenAPI.
    
    ///
    
    /// tip | Dica
    
    A `ORJSONResponse` está disponível apenas no FastAPI, e não no Starlette.
    
    ///
    
    ## Resposta HTML
    
    Para retornar uma resposta com HTML diretamente do **FastAPI**, utilize `HTMLResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/en/docs/external-links.md

    # External Links and Articles
    
    **FastAPI** has a great community constantly growing.
    
    There are many posts, articles, tools, and projects, related to **FastAPI**.
    
    Here's an incomplete list of some of them.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/security/index.md

    # 高级安全
    
    ## 附加特性
    
    除 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank} 中涵盖的功能之外,还有一些额外的功能来处理安全性.
    
    /// tip | "小贴士"
    
    接下来的章节 **并不一定是 "高级的"**.
    
    而且对于你的使用场景来说,解决方案很可能就在其中。
    
    ///
    
    ## 先阅读教程
    
    接下来的部分假设你已经阅读了主要的 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 607 bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/path-params.md

    ```
    
    /// info
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Les énumérations (ou enums) sont disponibles en Python</a> depuis la version 3.4.
    
    ///
    
    /// tip | "Astuce"
    
    Pour ceux qui se demandent, "AlexNet", "ResNet", et "LeNet" sont juste des noms de <abbr title="Techniquement, des architectures de modèles">modèles</abbr> de Machine Learning.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-fields.md

    Lembre-se que quando você importa `Query`, `Path`, e outros de `fastapi`, esse são na realidade funções que retornam classes especiais.
    
    ///
    
    /// tip | "Dica"
    
    Note como cada atributo do modelo com um tipo, valor padrão e `Field` possuem a mesma estrutura que parâmetros de *funções de operações de rota*, com `Field` ao invés de `Path`, `Query` e `Body`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

    ```
    
    /// info | "informação"
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerations (ou enums) estão disponíveis no Python</a> desde a versão 3.4.
    
    ///
    
    /// tip | "Dica"
    
    
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/events.md

    /// tip | "Dica"
    
    O `shutdown` aconteceria quando você estivesse **encerrando** a aplicação.
    
    Talvez você precise inicializar uma nova versão, ou apenas cansou de executá-la. 🤷
    
    ///
    
    ### Função _lifespan_
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top