- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 2,279 for inf2 (0.06 seconds)
-
docs/zh-hant/docs/tutorial/response-status-code.md
/// note | 注意 請注意,`status_code` 是「裝飾器(decorator)」方法(`get`、`post` 等等)的參數,而不是你的「路徑操作函式」的參數,就像所有的參數與 body 一樣。 /// 參數 `status_code` 接受一個數字作為 HTTP 狀態碼。 /// info | 資訊 `status_code` 也可以接收一個 `IntEnum`,例如 Python 的 [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)。 /// 它會: * 在回應中傳回該狀態碼。 * 在 OpenAPI 結構中如此記錄(因此也會反映在使用者介面中):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/zh/docs/advanced/strict-content-type.md
如果你需要兼容不发送 `Content-Type` 头的客户端,可以通过设置 `strict_content_type=False` 来关闭严格检查: {* ../../docs_src/strict_content_type/tutorial001_py310.py hl[4] *} 启用该设置后,缺少 `Content-Type` 头的请求其请求体也会按 JSON 解析,这与旧版本 FastAPI 的行为一致。 /// info | 信息 此行为和配置在 FastAPI 0.132.0 中新增。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-operation-configuration.md
## 回應描述 { #response-description } 你可以用參數 `response_description` 指定回應的描述: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *} /// info | 資訊 請注意,`response_description` 專指回應,而 `description` 則是針對整個「路徑操作」的一般描述。 /// /// check | 檢查 OpenAPI 規範要求每個「路徑操作」都必須有一個回應描述。 因此,如果你未提供,**FastAPI** 會自動產生 "Successful response"。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/cors.md
### Простые запросы { #simple-requests } Любые запросы с заголовком `Origin`. В этом случае middleware передаст запрос дальше как обычно, но добавит соответствующие CORS-заголовки к ответу. ## Больше информации { #more-info }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java
* Side Public License, v 1. */ package org.elasticsearch.gradle.internal.test.rest; import org.elasticsearch.gradle.VersionProperties; import org.elasticsearch.gradle.internal.info.BuildParams; import org.gradle.api.DefaultTask; import org.gradle.api.file.ArchiveOperations; import org.gradle.api.file.DirectoryProperty; import org.gradle.api.file.FileCollection;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 10:39:17 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/sub-dependencies.md
## Использование зависимости { #use-the-dependency } Затем мы можем использовать зависимость вместе с: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *} /// info | Дополнительная информация Обратите внимание, что мы объявляем только одну зависимость в *функции операции пути* - `query_or_cookie_extractor`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 19:57:34 GMT 2026 - 6.4K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
* data validation * data serialization * data documentation, etc. This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. /// info Keep in mind that dataclasses can't do everything Pydantic models can do. So, you might still need to use Pydantic models.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/es/docs/advanced/response-directly.md
/// ## Devolver una `Response` { #return-a-response } De hecho, puedes devolver cualquier `Response` o cualquier subclase de ella. /// info | Información `JSONResponse` en sí misma es una subclase de `Response`. /// Y cuando devuelves una `Response`, **FastAPI** la pasará directamente.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.4K bytes - Click Count (0)