- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,041 for example (0.15 sec)
-
docs_src/sql_databases/sql_app/tests/test_sql_app.py
client = TestClient(app) def test_create_user(): response = client.post( "/users/", json={"email": "deadpool@example.com", "password": "chimichangas4life"}, ) assert response.status_code == 200, response.text data = response.json() assert data["email"] == "deadpool@example.com" assert "id" in data user_id = data["id"] response = client.get(f"/users/{user_id}")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jun 22 11:20:12 GMT 2023 - 1.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
listOf( "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>", "Parsing: <http://f:0/c> against <http://example.org/foo/bar>", "Parsing: <http://f:00000000000000/c> against <http://example.org/foo/bar>", "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>", "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto
optional string type = 1; // object refers to a metric describing a single kubernetes object // (for example, hits-per-second on an Ingress object). // +optional optional ObjectMetricSource object = 2; // pods refers to a metric describing each pod in the current scale target // (for example, transactions-processed-per-second). The values will be // averaged together before being compared to the target value.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 21K bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto
optional string type = 1; // object refers to a metric describing a single kubernetes object // (for example, hits-per-second on an Ingress object). // +optional optional ObjectMetricSource object = 2; // pods refers to a metric describing each pod in the current scale target // (for example, transactions-processed-per-second). The values will be // averaged together before being compared to the target value.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 21.2K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py
from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.schema_extra_example.tutorial005_an_py310 import app client = TestClient(app) return client @needs_py310 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 6.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
* example, thread A may be executing [responseBodyStart] while thread B executes [canceled]. * Implementations must support such concurrent calls. * * Note that cancellation is best-effort and that a call may proceed normally after it has been * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001_1.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.7K bytes - Viewed (0) -
tests/test_openapi_servers.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2K bytes - Viewed (0) -
docs/distributed/CONFIG.md
Following is an example YAML configuration structure. ```yaml version: v2 address: ":9000" rootUser: "minioadmin" rootPassword: "minioadmin" console-address: ":9001" certs-dir: "/home/user/.minio/certs/" pools: # Specify the nodes and drives with pools - args: - "https://server-example-pool1:9000/mnt/disk{1...4}/"
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 4.2K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an.py
@app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": { "name": "Foo",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.5K bytes - Viewed (0)