- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 474 for dict (0.02 seconds)
-
docs/pt/docs/how-to/custom-request-and-route.md
{* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *} /// note | Detalhes Técnicos Um `Request` tem um atributo `request.scope`, que é apenas um `dict` do Python contendo os metadados relacionados à requisição. Um `Request` também tem um `request.receive`, que é uma função para "receber" o corpo da requisição.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/index.md
* Einen optionalen Query-Parameter `limit`, der ein `int` ist und standardmäßig `100` ist. Und dann wird einfach ein <abbr title="Dictionary – Zuordnungstabelle: In anderen Sprachen auch Hash, Map, Objekt, Assoziatives Array genannt">`dict`</abbr> zurückgegeben, welches diese Werte enthält. /// info | Info FastAPI unterstützt (und empfiehlt die Verwendung von) `Annotated` seit Version 0.95.0.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/es/docs/advanced/templates.md
``` ### Valores de Contexto de la Plantilla { #template-context-values } En el HTML que contiene: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...mostrará el `id` tomado del `dict` de "contexto" que pasaste: ```Python {"id": id} ``` Por ejemplo, con un ID de `42`, esto se renderizaría como: ```html Item ID: 42 ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/pt/docs/advanced/settings.md
/// Aqui definimos a configuração `env_file` dentro da sua classe `Settings` do Pydantic e definimos o valor como o nome do arquivo dotenv que queremos usar.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
* Un parámetro de query opcional `skip` que es un `int`, y por defecto es `0`. * Un parámetro de query opcional `limit` que es un `int`, y por defecto es `100`. Y luego solo devuelve un `dict` que contiene esos valores. /// info | Información FastAPI agregó soporte para `Annotated` (y comenzó a recomendarlo) en la versión 0.95.0. Si tienes una versión anterior, obtendrás errores al intentar usar `Annotated`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/test_filter_pydantic_sub_model_pv2.py
username: str class ModelC(ModelB): password: str class ModelA(BaseModel): name: str description: Optional[str] = None foo: ModelB tags: dict[str, str] = {} @field_validator("name") def lower_username(cls, name: str, info: ValidationInfo): if not name.endswith("A"): raise ValueError("name must end in A")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.6K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
* An optional query parameter `skip` that is an `int`, and by default is `0`. * An optional query parameter `limit` that is an `int`, and by default is `100`. And then it just returns a `dict` containing those values. /// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/ru/docs/features.md
Но по умолчанию всё **«просто работает»**. ### Проверка значений { #validation } * Проверка значений для большинства (или всех?) **типов данных** Python, включая: * Объекты JSON (`dict`). * Массив JSON (`list`) с определёнными типами элементов. * Строковые (`str`) поля с ограничением минимальной и максимальной длины. * Числа (`int`, `float`) с минимальными и максимальными значениями и т. п.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 16K bytes - Click Count (0) -
docs/pt/docs/features.md
Por padrão, tudo **"simplesmente funciona"**. ### Validação { #validation } * Validação para a maioria dos (ou todos?) **tipos de dados** do Python, incluindo: * objetos JSON (`dict`). * arrays JSON (`list`), definindo tipos dos itens. * campos String (`str`), definindo tamanho mínimo e máximo. * Numbers (`int`, `float`) com valores mínimos e máximos, etc.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.6K bytes - Click Count (0)