- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,068 for statRps (0.06 sec)
-
docs/en/docs/advanced/additional-responses.md
/// You can declare additional responses, with additional status codes, media types, descriptions, etc. Those additional responses will be included in the OpenAPI schema, so they will also appear in the API docs. But for those additional responses you have to make sure you return a `Response` like `JSONResponse` directly, with your status code and content. ## Additional Response with `model`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:07:07 UTC 2024 - 8.7K bytes - Viewed (0) -
docs_src/websockets/tutorial002.py
from typing import Union from fastapi import ( Cookie, Depends, FastAPI, Query, WebSocket, WebSocketException, status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)">
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 13 16:10:54 UTC 2022 - 2.8K bytes - Viewed (0) -
internal/bucket/replication/datatypes.go
Failed StatusType = "FAILED" // Replica - this is a replica. Replica StatusType = "REPLICA" ) // String returns string representation of status func (s StatusType) String() string { return string(s) } // Empty returns true if this status is not set func (s StatusType) Empty() bool { return string(s) == ""
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 19:08:18 UTC 2024 - 1.5K bytes - Viewed (0) -
common/scripts/metallb-native.yaml
minimum: 10 type: integer type: object status: description: BFDProfileStatus defines the observed state of BFDProfile. type: object type: object served: true storage: true subresources: status: {} --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Feb 23 23:56:31 UTC 2024 - 63.9K bytes - Viewed (0) -
internal/config/lambda/event/targetlist.go
list.RLock() target, ok := list.targets[id] list.RUnlock() if ok { return target.Send(event) } return nil, ErrARNNotFound{} } // Stats returns stats for targets. func (list *TargetList) Stats() TargetStats { t := TargetStats{} if list == nil { return t } list.RLock() defer list.RUnlock() t.TargetStats = make(map[string]TargetStat, len(list.targets))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 4.3K bytes - Viewed (0) -
fastapi/routing.py
Doc( """ The default status code to be used for the response. You could override the status code by returning a response directly. Read more about it in the [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/). """ ), ] = None,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseCommonTest.kt
} @Test fun negativeStatusCodeThrowsIllegalStateException() { assertFailsWith<IllegalStateException> { newResponse(responseBody("set status code -1"), -1) } } @Test fun zeroStatusCodeIsValid() { val response = newResponse(responseBody("set status code 0"), 0) assertThat(response.code).isEqualTo(0) } @Test fun defaultResponseBodyIsEmpty() { val response = Response.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
"Expected PairedStats.BYTES = %s, got %s", BYTES, byteArray.length); ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN); Stats xStats = Stats.readFrom(buffer); Stats yStats = Stats.readFrom(buffer); double sumOfProductsOfDeltas = buffer.getDouble(); return new PairedStats(xStats, yStats, sumOfProductsOfDeltas); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 12.6K bytes - Viewed (0) -
tests/test_enforce_once_required_parameter.py
}, } def test_schema(): response = client.get("/openapi.json") assert response.status_code == status.HTTP_200_OK actual_schema = response.json() assert actual_schema == expected_schema def test_get_invalid(): response = client.get("/foo") assert response.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY def test_get_valid():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
#ifndef TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_ #define TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_ #include "absl/status/statusor.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/platform/intrusive_ptr.h" #include "tensorflow/core/platform/refcount.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { class FunctionRecord;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.9K bytes - Viewed (0)