Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 558 for tipo (0.39 sec)

  1. docs/ru/docs/how-to/authentication-error-status-code.md

    Например, вы можете создать подкласс `HTTPBearer`, который будет возвращать ошибку `403 Forbidden` вместо стандартной `401 Unauthorized`:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip | Совет
    
    Обратите внимание, что функция возвращает экземпляр исключения, не вызывает его. Выброс выполняется остальным внутренним кодом.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/authentication-error-status-code.md

    For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip
    
    Notice that the function returns the exception instance, it doesn't raise it. The raising is done in the rest of the internal code.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/authentication-error-status-code.md

    Por exemplo, você pode criar uma subclasse de `HTTPBearer` que retorne um erro `403 Forbidden` em vez do erro padrão `401 Unauthorized`:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip | Dica
    
    Perceba que a função retorna a instância da exceção, ela não a lança. O lançamento é feito no restante do código interno.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 19:59:04 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    Lá você pode definir:
    
    * O "Item ID", usado no path.
    * O "Token" usado como um parâmetro de consulta.
    
    /// tip | Dica
    
    Perceba que a consulta `token` será manipulada por uma dependência.
    
    ///
    
    Com isso você pode conectar o WebSocket e então enviar e receber mensagens:
    
    <img src="/img/tutorial/websockets/image05.png">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. docs/tr/docs/how-to/index.md

    Projeniz için ilginç ve yararlı görünen bir şey varsa devam edin ve inceleyin, aksi halde bunları atlayabilirsiniz.
    
    /// tip | İpucu
    
    **FastAPI**'ı düzgün (ve önerilen) şekilde öğrenmek istiyorsanız [Öğretici - Kullanıcı Rehberi](../tutorial/index.md){.internal-link target=_blank}'ni bölüm bölüm okuyun.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 626 bytes
    - Viewed (0)
  8. 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>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. docs/ru/docs/how-to/index.md

    Если что-то кажется интересным и полезным для вашего проекта, смело изучайте; в противном случае, вероятно, можно просто пропустить.
    
    /// tip | Совет
    
    Если вы хотите изучить FastAPI структурированно (рекомендуется), вместо этого читайте [Учебник — Руководство пользователя](../tutorial/index.md){.internal-link target=_blank} по главам.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top