Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 619 for tipo (0.01 seconds)

  1. docs/es/docs/tutorial/testing.md

    Escribe declaraciones `assert` simples con las expresiones estándar de Python que necesites revisar (otra vez, estándar de `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente también son llamadas normales, sin usar `await`.
    
    Esto te permite usar `pytest` directamente sin complicaciones.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/websockets.md

    There you can set:
    
    * The "Item ID", used in the path.
    * The "Token" used as a query parameter.
    
    /// tip
    
    Notice that the query `token` will be handled by a dependency.
    
    ///
    
    With that you can connect the WebSocket and then send and receive messages:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/testing.md

    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Подсказка
    
    Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`.
    
    И вызов клиента также осуществляется без `await`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10K bytes
    - Click Count (0)
  4. docs/en/docs/reference/websockets.md

    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    /// tip
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    ///
    
    ::: fastapi.WebSocket
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/security/index.md

    В настоящее время он не очень популярен и не используется.
    
    OAuth2 не указывает, как шифровать сообщение, он ожидает, что ваше приложение будет обслуживаться по протоколу HTTPS.
    
    /// tip | Подсказка
    
    В разделе **Развертывание** вы увидите как настроить протокол HTTPS бесплатно, используя Traefik и Let's Encrypt.
    
    ///
    
    ## OpenID Connect { #openid-connect }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. 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>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/middleware.md

        * Then it returns the `response` generated by the corresponding *path operation*.
    * You can then further modify the `response` before returning it.
    
    {* ../../docs_src/middleware/tutorial001_py39.py hl[8:9,11,14] *}
    
    /// tip
    
    Keep in mind that custom proprietary headers can be added <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">using the `X-` prefix</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. 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版本
    
    你应该为你的应用程序添加测试。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 3.1K bytes
    - Click Count (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`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/path-params.md

    Затем создайте атрибуты класса с фиксированными допустимыми значениями:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[1,6:9] *}
    
    /// tip | Подсказка
    
    Если интересно, то "AlexNet", "ResNet" и "LeNet" - это названия <abbr title="Технически, архитектуры моделей глубокого обучения">моделей</abbr> Машинного обучения.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top