- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,655 for items (0.05 sec)
-
docs_src/dependencies/tutorial002_an.py
self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit] response.update({"items": items})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 706 bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
// +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 2; // items contains each of the included items. repeated k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 1;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py
"path,cookies,expected_status,expected_response", [ ("/items", None, 200, {"ads_id": None}), ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}), ( "/items", {"ads_id": "ads_track", "session": "cookiesession"}, 200, {"ads_id": "ads_track"}, ), ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}), ], )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.9K bytes - Viewed (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
@Test fun `promotion sanity check runs 'gradle tasks'`() { val model = setupModelFor("release") val sanityCheck = model.findBuildTypeByName("SanityCheck") val steps = sanityCheck.steps.items val gradleBuildStep = gradleStep(steps, 0) gradleBuildStep.assertTasks("tasks") } @Test fun `nightly promotion build type runs three gradle invocations`() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Feb 13 14:18:23 UTC 2024 - 13.4K bytes - Viewed (0) -
docs_src/response_model/tutorial001_01_py39.py
app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.post("/items/") async def create_item(item: Item) -> Item: return item @app.get("/items/") async def read_items() -> list[Item]: return [ Item(name="Portal Gun", price=42.0),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 507 bytes - Viewed (0) -
istioctl/pkg/tag/util.go
LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag), }) if err != nil { return nil, err } nsNames := make([]string, len(namespaces.Items)) for i, ns := range namespaces.Items { nsNames[i] = ns.Name } return nsNames, nil } // GetWebhookTagName extracts tag name from webhook object. func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py
}, }, "summary": "Read Items", "operationId": "read_items_items__item_id__put", "parameters": [ { "required": True, "schema": { "title": "Item Id", "type": "string",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 7K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query( alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 635 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
assertEquals( "the hash of " + item + " must be consistent", equivalence.hash(item), equivalence.hash(item)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
assertEquals( "the hash of " + item + " must be consistent", equivalence.hash(item), equivalence.hash(item)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0)