Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 550 for tutorial009b_py39 (0.06 sec)

  1. docs/ru/docs/advanced/additional-responses.md

    Например, чтобы объявить ещё один ответ со статус-кодом `404` и Pydantic-моделью `Message`, можно написать:
    
    {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *}
    
    /// note | Примечание
    
    Имейте в виду, что необходимо возвращать `JSONResponse` напрямую.
    
    ///
    
    /// info | Информация
    
    Ключ `model` не является частью OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/settings.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info | Información
    
    En Pydantic v1 importarías `BaseSettings` directamente desde `pydantic` en lugar de desde `pydantic_settings`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/body-nested-models.md

    Ось що ми розглянемо далі.
    
    У цьому випадку Ви можете приймати будь-який `dict`, якщо його ключі — це `int`, а значення — `float`:
    
    {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *}
    
    /// tip | Порада
    
    Майте на увазі, що в JSON тілі ключі можуть бути лише рядками (`str`).
    
    Але Pydantic автоматично конвертує дані.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:18:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/cors.md

    * Credentials (Authorization headers, Cookies, etc).
    * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`.
    * Specific HTTP headers or all of them with the wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params-numeric-validations.md

    Así que puedes declarar tu función como:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Pero ten en cuenta que si usas `Annotated`, no tendrás este problema, no importará ya que no estás usando los valores por defecto de los parámetros de la función para `Query()` o `Path()`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/path-params-numeric-validations.md

    Sie können Ihre Funktion also so deklarieren:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Aber bedenken Sie, dass Sie dieses Problem nicht haben, wenn Sie `Annotated` verwenden, da es nicht darauf ankommt, dass Sie keine Funktionsparameter-Defaultwerte für `Query()` oder `Path()` verwenden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/testing.md

    Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind.
    
    Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/metadata.md

    You can set them as follows:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip
    
    You can write Markdown in the `description` field and it will be rendered in the output.
    
    ///
    
    With this configuration, the automatic API docs would look like:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-nested-models.md

    That's what we are going to see here.
    
    In this case, you would accept any `dict` as long as it has `int` keys with `float` values:
    
    {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *}
    
    /// tip
    
    Keep in mind that JSON only supports `str` as keys.
    
    But Pydantic has automatic data conversion.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/body-nested-models.md

    Именно это мы сейчас и увидим здесь.
    
    В этом случае вы принимаете любой `dict`, пока у него есть ключи типа `int` со значениями типа `float`:
    
    {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *}
    
    /// tip | Совет
    
    Имейте в виду, что JSON поддерживает только ключи типа `str`.
    
    Но Pydantic обеспечивает автоматическое преобразование данных.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top