- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 726 for Pearson (0.18 sec)
-
tests/test_read_with_orm_mode.py
app = FastAPI() @app.post("/people/", response_model=PersonRead) def create_person(person: PersonCreate) -> Any: db_person = Person.model_validate(person) return db_person client = TestClient(app) person_data = {"name": "Dive", "lastname": "Wilson"} response = client.post("/people/", json=person_data) data = response.json() assert response.status_code == 200, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2.4K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl()), ).execute() assertThat(response.body.string()).contains("Peter the person") assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testUrlConnectionDirect() { testRequest { val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
// ## Arrange ## Locale.setDefault(Locale.JAPANESE); final SQLException sqlException = new SQLException("some reason", "fooState", 7650); final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660); final SQLException sqlException3 = new SQLException("fuga reason", "bazState", 7670); sqlException.setNextException(sqlException2); sqlException2.setNextException(sqlException3);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.2K bytes - Viewed (0) -
cni/pkg/repair/repair_test_helpers.go
ExitCode: constants.ValidationErrorCode, Reason: "Error", Message: "Died for some reason", }, }, } brokenInitContainerTerminating = corev1.ContainerStatus{ Name: constants.ValidationContainerName, State: corev1.ContainerState{ Terminated: &corev1.ContainerStateTerminated{ ExitCode: constants.ValidationErrorCode, Reason: "Error", Message: "Died for some reason", },
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
assertThat(nextEvent()).isEqualTo(Pong(payload)) } fun assertClosing( code: Int, reason: String, ) { assertThat(nextEvent()).isEqualTo(Closing(code, reason)) } fun assertClosed( code: Int, reason: String, ) { assertThat(nextEvent()).isEqualTo(Closed(code, reason)) } fun assertExhausted() { assertThat(events).isEmpty() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.9K bytes - Viewed (0) -
tests/utils.py
from fastapi._compat import PYDANTIC_V2 needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 422 bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt
MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient -> mockServerClient .`when`( request().withPath("/person") .withQueryStringParameter("name", "peter"), ) .respond(response().withBody("Peter the person!")) val client = OkHttpClient.Builder() .proxy(Proxy(SOCKS, InetSocketAddress(socks5Proxy.host, socks5Proxy.firstMappedPort)))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
} /** * Send a close frame with optional code and reason. * * @param code Status code as defined by * [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4) or `0`. * @param reason Reason for shutting down or `null`. */ @Throws(IOException::class) fun writeClose( code: Int, reason: ByteString?, ) { var payload = ByteString.EMPTY
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
Reason: "Namespace label istio-injection=enabled matches", }, { Name: "istio-sidecar-injector-1-16", Revision: "1-16", Reason: "No matching namespace labels (istio.io/rev=1-16) or pod labels (istio.io/rev=1-16)", }, { Name: "istio-sidecar-injector-deactivated", Revision: "default", Reason: "The injection webhook is deactivated, and will never match labels.", },
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 11:15:46 GMT 2024 - 3.7K bytes - Viewed (0)