- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 650 for clientv3 (0.11 seconds)
-
tests/test_repeated_cookie_headers.py
@app.get("/indirectCookie") def get_indirect_cookie(dep: str = Depends(set_indirect_cookie)): return {"dep": dep} client = TestClient(app) def test_cookie_is_set_once(): direct_response = client.get("/directCookie") indirect_response = client.get("/indirectCookie") assert ( direct_response.headers["set-cookie"] == indirect_response.headers["set-cookie"]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jun 13 12:44:51 GMT 2020 - 792 bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial003_03.py
from docs_src.response_model.tutorial003_03_py39 import app client = TestClient(app) def test_get_portal(): response = client.get("/teleport", follow_redirects=False) assert response.status_code == 307, response.text assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ" def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.1K bytes - Click Count (0) -
tests/test_openapi_route_extensions.py
@app.get("/", openapi_extra={"x-custom-extension": "value"}) def route_with_extras(): return {} client = TestClient(app) def test_get_route(): response = client.get("/") assert response.status_code == 200, response.text assert response.json() == {} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
} /** * Checks if the client is connected to the witness service. * * @return true if connected */ public boolean isConnected() { return connected && rpcHandle != null; } @Override public void close() { if (connected && rpcHandle != null) { try { log.debug("Closing witness RPC client"); rpcHandle.close();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
internal/grid/connection.go
if _, loaded := c.outgoing.LoadOrStore(client.MuxID, client); client.MuxID != 0 && !loaded { if debugReqs { _, found := c.outgoing.Load(client.MuxID) fmt.Println(client.MuxID, c.String(), "Connection.newMuxClient: RELOADED MUX. loaded:", loaded, "found:", found) } return client, nil } client.MuxID = atomic.AddUint64(&c.NextID, 1) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
tests/test_http_connection_injection.py
await websocket.accept() await websocket.send_json(value) await websocket.close() client = TestClient(app) def test_value_extracting_by_http(): response = client.get("/http") assert response.status_code == 200 assert response.json() == 42 def test_value_extracting_by_ws(): with client.websocket_connect("/ws") as websocket:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 09 13:56:41 GMT 2020 - 972 bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
from fastapi.testclient import TestClient from docs_src.path_operation_advanced_configuration.tutorial006_py39 import app client = TestClient(app) def test_post(): response = client.post("/items/", content=b"this is actually not validated") assert response.status_code == 200, response.text assert response.json() == { "size": 30, "content": { "name": "Maaaagic", "price": 42,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.9K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
*/ val usedInWorkers: Property<Boolean> /** * Declare that this Gradle module runs as part of the wrapper or as part of a client process. * Client processes include the Tooling API client or the CLI client. */ val usedInClient: Property<Boolean> /** * Declare that this Gradle module runs as part of the Gradle daemon. */Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_duplicate_models_openapi.py
@app.get("/", response_model=Model3) def f(): return {"c": {}, "d": {"a": {}}} client = TestClient(app) def test_get_api_route(): response = client.get("/") assert response.status_code == 200, response.text assert response.json() == {"c": {}, "d": {"a": {}}} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java
import software.amazon.awssdk.services.s3.model.Tag; /** * A crawler client implementation for accessing and retrieving content from S3-compatible storage systems * using AWS SDK v2. This client supports operations on Amazon S3 and S3-compatible storage systems. * * <p>This client requires the following initialization parameters: * <ul> * <li>endpoint - The URL of the S3-compatible server</li>
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 21.4K bytes - Click Count (0)