- Sort Score
- Num 10 results
- Language All
Results 3241 - 3250 of 3,625 for List (0.03 seconds)
-
docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
有時在你的路徑操作函式中,其實不需要某個依賴的回傳值。 或是該依賴根本沒有回傳值。 但你仍需要它被執行/解析。 這種情況下,你可以不在路徑操作函式的參數上使用 `Depends`,而是在路徑操作裝飾器加入一個 `dependencies` 的 `list`。 ## 在路徑操作裝飾器加入 `dependencies` { #add-dependencies-to-the-path-operation-decorator } 路徑操作裝飾器可接受一個可選參數 `dependencies`。 它應該是由 `Depends()` 組成的 `list`: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *} 這些依賴會以與一般依賴相同的方式被執行/解析。但它們的值(如果有回傳)不會傳遞給你的路徑操作函式。 /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
Ahora, modifica la *path operation* del token para devolver los scopes solicitados. Todavía estamos usando el mismo `OAuth2PasswordRequestForm`. Incluye una propiedad `scopes` con una `list` de `str`, con cada scope que recibió en el request. Y devolvemos los scopes como parte del token JWT. /// danger | Peligro Para simplificar, aquí solo estamos añadiendo los scopes recibidos directamente al token.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 14.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/internal/fake_git/remote/distribution/archives/build.gradle
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.2K bytes - Click Count (0) -
okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/resource-config.json
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 100 bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/sql-databases.md
在 `response_model` 中宣告,就是要讓 FastAPI 去做它該做的事,而不影響型別標註,以及你的編輯器與其他工具提供的協助。 /// ### 使用 `HeroPublic` 讀取多個 Hero { #read-heroes-with-heropublic } 我們可以像先前一樣「讀取」多個 `Hero`。同樣地,我們使用 `response_model=list[HeroPublic]` 來確保資料被正確驗證與序列化。 {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *} ### 使用 `HeroPublic` 讀取單一 Hero { #read-one-hero-with-heropublic } 我們可以「讀取」單一 hero:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* Large refactor, improvement, and simplification of param extraction from *path operations*. * Fix/add support for list *query parameters* with list defaults. New documentation: [Query parameter list / multiple values with defaults](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#query-parameter-list-multiple-values-with-defaults).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial012_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 192 bytes - Click Count (0) -
docs/fr/docs/tutorial/response-model.md
/// `response_model` reçoit le même type que vous déclareriez pour un champ de modèle Pydantic, il peut donc s'agir d'un modèle Pydantic, mais il peut aussi être, par exemple, une `list` de modèles Pydantic, comme `List[Item]`. FastAPI utilisera ce `response_model` pour toute la documentation des données, la validation, etc. et aussi pour **convertir et filtrer les données de sortie** selon sa déclaration de type.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 18.1K bytes - Click Count (0) -
docs/fr/docs/advanced/security/oauth2-scopes.md
Modifiez maintenant le *chemin d’accès* du jeton pour renvoyer les scopes demandés. Nous utilisons toujours le même `OAuth2PasswordRequestForm`. Il inclut une propriété `scopes` avec une `list` de `str`, contenant chaque scope reçu dans la requête. Et nous renvoyons les scopes comme partie du jeton JWT. /// danger | Danger Pour simplifier, ici nous ajoutons directement au jeton les scopes reçus.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/en/docs/deployment/docker.md
So, it's important to put this **near the end** of the `Dockerfile`, to optimize the container image build times. 6. Set the **command** to use `fastapi run`, which uses Uvicorn underneath. `CMD` takes a list of strings, each of these strings is what you would type in the command line separated by spaces. This command will be run from the **current working directory**, the same `/code` directory you set above with `WORKDIR /code`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 28.3K bytes - Click Count (1)