- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 572 for stats (0.18 sec)
-
docs/es/docs/advanced/additional-status-codes.md
Para conseguir esto importa `JSONResponse` y devuelve ahí directamente tu contenido, asignando el `status_code` que quieras: ```Python hl_lines="4 25" {!../../../docs_src/additional_status_codes/tutorial001.py!} ``` !!! warning "Advertencia" Cuando devuelves directamente una `Response`, como en los ejemplos anteriores, será devuelta directamente.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 11:57:27 GMT 2024 - 2.1K bytes - Viewed (0) -
docs/ja/docs/advanced/additional-status-codes.md
例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。 しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。 これを達成するには、 `JSONResponse` をインポートし、 `status_code` を設定して直接内容を返します。 ```Python hl_lines="4 25" {!../../../docs_src/additional_status_codes/tutorial001.py!} ``` !!! warning "注意" 上記の例のように `Response` を明示的に返す場合、それは直接返されます。 モデルなどはシリアライズされません。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 2.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-status-code.md
**FastAPI** позволяет использовать как `starlette.status`, так и `fastapi.status` исключительно для удобства разработчиков. Но поставляется fastapi.status непосредственно из Starlette. ## Изменение кода статуса по умолчанию
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 25 18:44:34 GMT 2023 - 7K bytes - Viewed (0) -
docs/zh/docs/advanced/response-change-status-code.md
你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md){.internal-link target=_blank}。 但在某些情况下,你需要返回一个不同于默认值的状态码。 ## 使用场景 例如,假设你想默认返回一个HTTP状态码为“OK”`200`。 但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。 但你仍然希望能够使用`response_model`过滤和转换你返回的数据。 对于这些情况,你可以使用一个`Response`参数。 ## 使用 `Response` 参数 你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。 然后你可以在这个*临时*响应对象中设置`status_code`。 ```Python hl_lines="1 9 12"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 10 20:30:28 GMT 2023 - 1.4K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1/generated.proto
// Most recently observed status of the Deployment. // +optional optional DeploymentStatus status = 3; } // DeploymentCondition describes the state of a deployment at a certain point. message DeploymentCondition { // Type of deployment condition. optional string type = 1; // Status of the condition, one of True, False, Unknown. optional string status = 2;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 34.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.25.md
- was leaving pods with finalizers, blocking pod and job deletions JobTrackingWithFinalizers is still disabled by default. ([#109486](https://github.com/kubernetes/kubernetes/pull/109486), [@alculquicondor](https://github.com/alculquicondor)) [SIG Apps and Testing]
Plain Text - Registered: Fri May 03 09:05:14 GMT 2024 - Last Modified: Thu Nov 16 11:30:31 GMT 2023 - 419K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1beta2/generated.proto
// Most recently observed status of the Deployment. // +optional optional DeploymentStatus status = 3; } // DeploymentCondition describes the state of a deployment at a certain point. message DeploymentCondition { // Type of deployment condition. optional string type = 1; // Status of the condition, one of True, False, Unknown. optional string status = 2;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 36.4K bytes - Viewed (0) -
common-protos/k8s.io/api/extensions/v1beta1/generated.proto
// Most recently observed status of the Deployment. // +optional optional DeploymentStatus status = 3; } // DeploymentCondition describes the state of a deployment at a certain point. message DeploymentCondition { // Type of deployment condition. optional string type = 1; // Status of the condition, one of True, False, Unknown. optional string status = 2;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 45.6K bytes - Viewed (0) -
maven-core/src/site/apt/offline-mode.apt
descriptor should declare whether it requires online/offline status. This value should be a java.lang.Boolean, so it can implement 3VL (three value logic: yes, no, don't-care). The requiresOnline field in the mojo descriptor has the following semantics: [true] Online status is required for this mojo to function correctly. [false] <<(Default)>> Either status is acceptable for the mojo to
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 18 00:24:53 GMT 2024 - 10.6K bytes - Viewed (0) -
api/go1.txt
pkg syscall (darwin-386), type Statfs_t struct, Bsize uint32 pkg syscall (darwin-386), type Statfs_t struct, Ffree uint64 pkg syscall (darwin-386), type Statfs_t struct, Files uint64 pkg syscall (darwin-386), type Statfs_t struct, Flags uint32 pkg syscall (darwin-386), type Statfs_t struct, Fsid Fsid pkg syscall (darwin-386), type Statfs_t struct, Fssubtype uint32
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2)