- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 375 for Dict (0.02 seconds)
-
docs/es/docs/tutorial/body-nested-models.md
Pero tampoco tienes que preocuparte por ellos, los `dicts` entrantes se convierten automáticamente y tu salida se convierte automáticamente a JSON también. ## Cuerpos de `dict`s arbitrarios { #bodies-of-arbitrary-dicts } También puedes declarar un cuerpo como un `dict` con claves de algún tipo y valores de algún otro tipo.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.2K bytes - Click Count (0) -
scripts/sponsors.py
edges = get_graphql_sponsor_edges(settings=settings, after=last_edge.cursor) tiers: defaultdict[float, dict[str, SponsorEntity]] = defaultdict(dict) for node in nodes: tiers[node.tier.monthlyPriceInDollars][node.sponsorEntity.login] = ( node.sponsorEntity ) return tiers def update_content(*, content_path: Path, new_content: Any) -> bool:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 6.1K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
Like `item.model_dump(exclude_unset=True)`. That would generate a `dict` with only the data that was set when creating the `item` model, excluding default values. Then you can use this to generate a `dict` with only the data that was set (sent in the request), omitting default values: {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
Прежде чем углубиться в систему **Внедрения Зависимостей**, давайте обновим предыдущий пример. ## `dict` из предыдущего примера { #a-dict-from-the-previous-example } В предыдущем примере мы возвращали `dict` из нашей зависимости: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.7K bytes - Click Count (0) -
pdm_build.py
metadata = context.config.metadata # Get custom config for the current package, from the env var config: dict[str, Any] = context.config.data["tool"]["tiangolo"][ "_internal-slim-build" ]["packages"].get(TIANGOLO_BUILD_PACKAGE) if not config: return project_config: dict[str, Any] = config["project"] # Override main [project] configs with custom configs for this packageCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 691 bytes - Click Count (0) -
docs/tr/docs/python-types.md
#### `Dict` Bir `dict` tanımlamak için virgülle ayrılmış iki parametre verebilirsiniz. İlk tip parametresi `dict` değerinin `key` değeri içindir. İkinci parametre ise `dict` değerinin `value` değeri içindir: {* ../../docs_src/python_types/tutorial008.py hl[1,4] *} Bu şu anlama gelir: * `prices` değişkeni `dict` tipindedir:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.5K bytes - Click Count (0) -
docs_src/dependency_testing/tutorial001_an_py39.py
): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons} @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Users!", "params": commons} client = TestClient(app)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 1.5K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example. ## A `dict` from the previous example { #a-dict-from-the-previous-example } In the previous example, we were returning a `dict` from our dependency ("dependable"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} But then we get a `dict` in the parameter `commons` of the *path operation function*.
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) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
Antes de nos aprofundarmos no sistema de **Injeção de Dependência**, vamos melhorar o exemplo anterior. ## `dict` do exemplo anterior { #a-dict-from-the-previous-example } No exemplo anterior, nós retornávamos um `dict` da nossa dependência ("injetável"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} Mas assim obtemos um `dict` como valor do parâmetro `commons` na *função de operação de rota*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.3K bytes - Click Count (0) -
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*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.1K bytes - Click Count (0)