- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 780 for tutorial008_py310 (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/advanced/path-operation-advanced-configuration.md
{* ../../docs_src/path_operation_advanced_configuration/tutorial001_py310.py hl[6] *} ### 使用 *路径操作函数* 的函数名作为 operationId { #using-the-path-operation-function-name-as-the-operationid } 如果你想用 API 的函数名作为 `operationId`,你可以遍历所有路径操作,并使用它们的 `APIRoute.name` 重写每个 *路径操作* 的 `operation_id`。 你应该在添加了所有 *路径操作* 之后执行此操作。 {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *} /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
同理,把默认值设为 `None` 即可声明可选的查询参数: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} 本例中,查询参数 `q` 是可选的,默认值为 `None`。 /// check | 检查 注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。 /// ## 查询参数类型转换 { #query-parameter-type-conversion } 参数还可以声明为 `bool` 类型,FastAPI 会自动转换参数类型: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} 本例中,访问: ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params.md
# Parámetros de Query { #query-parameters } Cuando declaras otros parámetros de función que no son parte de los parámetros de path, son automáticamente interpretados como parámetros de "query". {* ../../docs_src/query_params/tutorial001_py310.py hl[9] *} La query es el conjunto de pares clave-valor que van después del `?` en una URL, separados por caracteres `&`. Por ejemplo, en la URL: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/query-params.md
Quando você declara outros parâmetros na função que não fazem parte dos parâmetros da rota, esses parâmetros são automaticamente interpretados como parâmetros de "consulta". {* ../../docs_src/query_params/tutorial001_py310.py hl[9] *} A consulta é o conjunto de pares chave-valor que vai depois de `?` na URL, separado pelo caractere `&`. Por exemplo, na URL: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 5K 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_py310.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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} 이는 대화형 문서에서 사용됩니다: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## 응답 설명 { #response-description } `response_description` 매개변수로 응답에 관한 설명을 명시할 수 있습니다: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *} /// info | 정보Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params.md
同樣地,你可以將預設值設為 `None` 來宣告選用的查詢參數: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} 在這種情況下,函式參數 `q` 為選用,且預設為 `None`。 /// check | 注意 另外請注意,FastAPI 能辨識出路徑參數 `item_id` 是路徑參數,而 `q` 不是,因此 `q` 會被當作查詢參數。 /// ## 查詢參數型別轉換 { #query-parameter-type-conversion } 你也可以宣告 `bool` 型別,值會被自動轉換: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} 在這種情況下,如果你造訪: ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/ja/docs/advanced/path-operation-advanced-configuration.md
## docstringによる説明の高度な設定 { #advanced-description-from-docstring } *path operation関数* のdocstringからOpenAPIに使用する行を制限できます。 `\f`(エスケープされた「書式送り(form feed)」文字)を追加すると、**FastAPI** はその地点でOpenAPIに使用される出力を切り詰めます。 ドキュメントには表示されませんが、他のツール(Sphinxなど)は残りの部分を利用できます。 {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/tr/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Yukarıda okuduğunuz gibi, bir miktar text veya bytes alır ve HTML response döndürür. ### `PlainTextResponse` { #plaintextresponse } Bir miktar text veya bytes alır ve düz metin response döndürür. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/query-params.md
Quand vous déclarez d'autres paramètres de fonction qui ne font pas partie des paramètres de chemin, ils sont automatiquement interprétés comme des paramètres de « query ». {* ../../docs_src/query_params/tutorial001_py310.py hl[9] *} La query est l'ensemble des paires clé-valeur placées après le `?` dans une URL, séparées par des caractères `&`. Par exemple, dans l'URL : ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.3K bytes - Click Count (0)