Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 177 for tutorial001_01_py310 (0.06 sec)

  1. docs/uk/docs/tutorial/path-params-numeric-validations.md

    ## Імпорт Path
    
    Спочатку імпортуйте `Path` з `fastapi` і імпортуйте `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Інформація
    
    FastAPI додав підтримку `Annotated`  (і почав рекомендувати його використання) у версії 0.95.0.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 16:27:21 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cookie-param-models.md

    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Un `dict` del ejemplo anterior { #a-dict-from-the-previous-example }
    
    En el ejemplo anterior, estábamos devolviendo un `dict` de nuestra dependencia ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Pero luego obtenemos un `dict` en el parámetro `commons` de la *path operation function*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/path-params-numeric-validations.md

    ## Importar Path { #import-path }
    
    Primero, importa `Path` de `fastapi`, e importa `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Información
    
    FastAPI agregó soporte para `Annotated` (y comenzó a recomendar su uso) en la versión 0.95.0.
    
    Si tienes una versión anterior, obtendrás errores al intentar usar `Annotated`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/path-params-numeric-validations.md

    ## `Path` importieren { #import-path }
    
    Importieren Sie zuerst `Path` von `fastapi`, und importieren Sie `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Info
    
    FastAPI hat in Version 0.95.0 Unterstützung für `Annotated` hinzugefügt und es zur Verwendung empfohlen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. docs/ko/docs/advanced/testing-dependencies.md

    테스트를 위해 의존성을 오버라이드하려면, 원래 의존성(함수)을 키로 설정하고 오버라이드할 의존성(다른 함수)을 값으로 설정합니다.
    
    그럼 **FastAPI**는 원래 의존성 대신 오버라이드된 의존성을 호출합니다.
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip | 팁
    
    **FastAPI** 애플리케이션 어디에서든 사용된 의존성에 대해 오버라이드를 설정할 수 있습니다.
    
    원래 의존성은 *경로 동작 함수*, *경로 동작 데코레이터*(반환값을 사용하지 않는 경우), `.include_router()` 호출 등에서 사용될 수 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 27 22:12:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/query-param-models.md

    ///
    
    ## Query параметри з Pydantic-моделлю
    
    Оголосіть **query параметри**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть цей параметр як `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI**  буде **витягувати** дані для **кожного поля** з **query параметрів** у запиті та передавати їх у визначену вами Pydantic-модель.
    
    ## Перевірте документацію
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Jun 05 12:12:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/index.md

    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Declarando a dependência, no "dependente" { #declare-the-dependency-in-the-dependant }
    
    Da mesma forma que você utiliza `Body`, `Query`, etc. Como parâmetros de sua *função de operação de rota*, utilize `Depends` com um novo parâmetro:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/additional-status-codes.md

    Um dies zu erreichen, importieren Sie `JSONResponse`, und geben Sie Ihren Inhalt direkt zurück, indem Sie den gewünschten `status_code` setzen:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | Achtung
    
    Wenn Sie eine `Response` direkt zurückgeben, wie im obigen Beispiel, wird sie direkt zurückgegeben.
    
    Sie wird nicht mit einem Modell usw. serialisiert.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. docs/ru/docs/advanced/additional-status-codes.md

    Чтобы добиться этого, импортируйте `JSONResponse` и верните туда свой контент напрямую, установив нужный вам `status_code`:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | Внимание
    
    Когда вы возвращаете `Response` напрямую, как в примере выше, он будет возвращён как есть.
    
    Он не будет сериализован с помощью модели и т.п.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top