- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 909 for NOTE (0.01 seconds)
-
docs/en/docs/tutorial/header-param-models.md
This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 /// ## Header Parameters with a Pydantic Model { #header-parameters-with-a-pydantic-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.6K bytes - Click Count (0) -
docs/zh/docs/advanced/response-cookies.md
/// tip 需要注意,如果你直接反馈一个response对象,而不是使用`Response`入参,FastAPI则会直接反馈你封装的response对象。 所以你需要确保你响应数据类型的正确性,如:你可以使用`JSONResponse`来兼容JSON的场景。 同时,你也应当仅反馈通过`response_model`过滤过的数据。 /// ### 更多信息 /// note | 技术细节 你也可以使用`from starlette.responses import Response` 或者 `from starlette.responses import JSONResponse`。 为了方便开发者,**FastAPI** 封装了相同数据类型,如`starlette.responses` 和 `fastapi.responses`。不过大部分response对象都是直接引用自Starlette。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 2.1K bytes - Click Count (0) -
docs/zh/docs/advanced/using-request-directly.md
同样,您也可以正常声明其它参数,而且还可以提取 `Request`。 /// ## `Request` 文档 更多细节详见 <a href="https://www.starlette.dev/requests/" class="external-link" target="_blank">Starlette 官档 - `Request` 对象</a>。 /// note | 技术细节 您也可以使用 `from starlette.requests import Request`。 **FastAPI** 的 `from fastapi import Request` 只是为开发者提供的快捷方式,但其实它直接继承自 Starlette。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 1.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/query-param-models.md
# 쿼리 매개변수 모델 연관된 쿼리 **매개변수** 그룹이 있다면 **Pydantic 모델** 을 사용해 선언할 수 있습니다. 이렇게 하면 **여러 곳**에서 **모델을 재사용**할 수 있을 뿐만 아니라, 매개변수에 대한 검증 및 메타데이터도 한 번에 선언할 수 있습니다. 😎 /// note | 참고 이 기능은 FastAPI 버전 `0.115.0`부터 제공됩니다. 🤓 /// ## 쿼리 매개변수와 Pydantic 모델 필요한 **쿼리 매개변수**를 **Pydantic 모델** 안에 선언한 다음, 모델을 `Query`로 선언합니다. {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 20 19:24:08 GMT 2024 - 2.3K bytes - Click Count (0) -
src/README.vendor
go mod tidy go mod vendor Use caution when passing '-u' to 'go get'. The '-u' flag updates modules providing all transitively imported packages, not only the module providing the target package. Note that 'go mod vendor' only copies packages that are transitively imported by packages in the current module. If a new package is needed,Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 30 19:15:39 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (artifact == null) { return null; } ArtifactHandler handler = newHandler(artifact); /* * NOTE: From Artifact.hasClassifier(), an empty string and a null both denote "no classifier". However, some * plugins only check for null, so be sure to nullify an empty classifier. */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/de/docs/tutorial/handling-errors.md
Sie erhalten also einen sauberen Fehler mit einem HTTP-Statuscode von `418` und dem JSON-Inhalt: ```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | Technische Details Sie könnten auch `from starlette.requests import Request` und `from starlette.responses import JSONResponse` verwenden.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
你从 *路径操作函数* 中返回的内容将被放在该 `Response` 中。 并且如果该 `Response` 有一个 JSON 媒体类型(`application/json`),比如使用 `JSONResponse` 或者 `UJSONResponse` 的时候,返回的数据将使用你在路径操作装饰器中声明的任何 Pydantic 的 `response_model` 自动转换(和过滤)。 /// note | 说明 如果你使用不带有任何媒体类型的响应类,FastAPI 认为你的响应没有任何内容,所以不会在生成的OpenAPI文档中记录响应格式。 /// ## 使用 `ORJSONResponse`
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.5K bytes - Click Count (0) -
cmd/bucket-listobjects-handlers.go
// This implementation of the GET operation returns some or all (up to 1000) // of the objects in a bucket. You can use the request parameters as selection // criteria to return a subset of the objects in a bucket. // // NOTE: It is recommended that this API to be used for application development. // MinIO continues to support ListObjectsV1 and V2 for supporting legacy tools.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/path-params-numeric-validations.md
## メタデータの宣言 パラメータは`Query`と同じものを宣言することができます。 例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします: {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[8] *} /// note | 備考 パスの一部でなければならないので、パスパラメータは常に必須です。 そのため、`...`を使用して必須と示す必要があります。 それでも、`None`で宣言しても、デフォルト値を設定しても、何の影響もなく、常に必要とされていることに変わりはありません。 /// ## 必要に応じてパラメータを並び替える クエリパラメータ`q`を必須の`str`として宣言したいとしましょう。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jan 04 10:53:58 GMT 2025 - 5.9K bytes - Click Count (0)