- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 442 for tutorial009c_py39 (0.12 seconds)
-
docs/ru/docs/tutorial/cors.md
* Учётных данных (HTTP-заголовки Authorization, куки и т.п.). * Отдельных HTTP-методов (`POST`, `PUT`) или всех вместе, используя `"*"`. * Отдельных HTTP-заголовков или всех вместе, используя `"*"`. {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/de/docs/tutorial/body-nested-models.md
Das schauen wir uns mal an. Im folgenden Beispiel akzeptieren Sie irgendein `dict`, solange es `int`-Schlüssel und `float`-Werte hat: {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *} /// tip | Tipp Bedenken Sie, dass JSON nur `str` als Schlüssel unterstützt. Aber Pydantic hat automatische Datenkonvertierung.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params.md
# Query Parameters { #query-parameters } When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters. {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *} The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters. For example, in the URL: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
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`. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
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 автоматично конвертує дані.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Feb 28 14:18:01 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/pt/docs/advanced/settings.md
Você pode usar as mesmas funcionalidades e ferramentas de validação que usa em modelos do Pydantic, como diferentes tipos de dados e validações adicionais com `Field()`. //// tab | Pydantic v2 {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *} //// //// tab | Pydantic v1 /// info | Informação No Pydantic v1 você importaria `BaseSettings` diretamente de `pydantic` em vez de `pydantic_settings`. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
import importlib from unittest.mock import patch import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ "tutorial001_py39", pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/pt/docs/advanced/additional-responses.md
Por exemplo, para declarar um outro retorno com o status code `404` e um modelo do Pydantic chamado `Message`, você pode escrever: {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *} /// note | Nota Lembre-se que você deve retornar o `JSONResponse` diretamente. /// /// info | Informação A chave `model` não é parte do OpenAPI.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.4K bytes - Click Count (0) -
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.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0)