Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 327 of 327 for tutorial006_py310 (0.06 sec)

  1. docs/es/docs/advanced/path-operation-advanced-configuration.md

    No aparecerá en la documentación, pero otras herramientas (como Sphinx) podrán usar el resto.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Responses Adicionales { #additional-responses }
    
    Probablemente has visto cómo declarar el `response_model` y el `status_code` para una *path operation*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    Ele não será mostrado na documentação, mas outras ferramentas (como o Sphinx) serão capazes de utilizar o resto do texto.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Respostas Adicionais { #additional-responses }
    
    Você provavelmente já viu como declarar o `response_model` e `status_code` para uma *operação de rota*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/handling-errors.md

    If you want to use the exception along with the same default exception handlers from  **FastAPI**, you can import and reuse the default exception handlers from `fastapi.exception_handlers`:
    
    {* ../../docs_src/handling_errors/tutorial006_py39.py hl[2:5,15,21] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/query-params-str-validations.md

    # 查询参数和字符串校验
    
    **FastAPI** 允许你为参数声明额外的信息和校验。
    
    让我们以下面的应用程序为例:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    我们打算添加约束条件:即使 `q` 是可选的,但只要提供了该参数,则该参数值**不能超过50个字符的长度**。
    
    ### 导入 `Query`
    
    为此,首先从 `fastapi` 导入 `Query`:
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[1] *}
    
    ## 使用 `Query` 作为默认值
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/custom-response.md

    Возвращает HTTP-редирект. По умолчанию использует статус-код 307 (Temporary Redirect — временное перенаправление).
    
    Вы можете вернуть `RedirectResponse` напрямую:
    
    {* ../../docs_src/custom_response/tutorial006_py39.py hl[2,9] *}
    
    ---
    
    Или можно использовать его в параметре `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006b_py39.py hl[2,7,9] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/security/simple-oauth2.md

    따라서 해커는 다른 시스템에서 동일한 암호를 사용하려고 시도할 수 없습니다(많은 사용자가 모든 곳에서 동일한 암호를 사용하므로 이는 위험할 수 있습니다).
    
    //// tab | 파이썬 3.7 이상
    
    {* ../../docs_src/security/tutorial003.py hl[80:83] *}
    
    ////
    
    {* ../../docs_src/security/tutorial003_py310.py hl[78:81] *}
    
    #### `**user_dict`에 대해
    
    `UserInDB(**user_dict)`는 다음을 의미한다:
    
    *`user_dict`의 키와 값을 다음과 같은 키-값 인수로 직접 전달합니다:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:19:12 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/custom-response.md

    Retorna um redirecionamento HTTP. Utiliza o código de status 307 (Redirecionamento Temporário) por padrão.
    
    Você pode retornar uma `RedirectResponse` diretamente:
    
    {* ../../docs_src/custom_response/tutorial006_py39.py hl[2,9] *}
    
    ---
    
    Ou você pode utilizá-la no parâmetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006b_py39.py hl[2,7,9] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top