- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 791 for itemId (0.08 seconds)
-
fastapi/encoders.py
return encoded_dict if isinstance(obj, (list, set, frozenset, GeneratorType, tuple, deque)): encoded_list = [] for item in obj: encoded_list.append( jsonable_encoder( item, include=include, exclude=exclude, by_alias=by_alias, exclude_unset=exclude_unset,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/foo?short=True ``` or ``` http://127.0.0.1:8000/items/foo?short=true ``` or ``` http://127.0.0.1:8000/items/foo?short=on ``` or ``` http://127.0.0.1:8000/items/foo?short=yes ``` or any other case variation (uppercase, first letter in uppercase, etc), your function will see the parameter `short` with a `bool` value of `True`. Otherwise as `False`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params-str-validations.md
Stellen Sie sich vor, Sie möchten, dass der Parameter `item-query` ist. Wie in: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Aber `item-query` ist kein gültiger Name für eine Variable in Python. Der am ähnlichsten wäre `item_query`. Aber Sie benötigen dennoch, dass er genau `item-query` ist ...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 19.1K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
) def response_model_model1_annotation_model2_return_invalid_dict() -> Item: return {"name": "John"} @app.get( "/response_model_model1-annotation_model2-return_invalid_model", response_model=User ) def response_model_model1_annotation_model2_return_invalid_model() -> Item: return Item(name="Foo", price=42.0) @app.get(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 47.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
本例中,访问: ``` http://127.0.0.1:8000/items/foo?short=1 ``` 或 ``` http://127.0.0.1:8000/items/foo?short=True ``` 或 ``` http://127.0.0.1:8000/items/foo?short=true ``` 或 ``` http://127.0.0.1:8000/items/foo?short=on ``` 或 ``` http://127.0.0.1:8000/items/foo?short=yes ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.3K bytes - Click Count (0) -
tests/benchmarks/test_general_performance.py
class LargeOut(BaseModel): items: list[dict[str, Any]] metadata: dict[str, Any] app = FastAPI() @app.post("/sync/validated", response_model=ItemOut) def sync_validated(item: ItemIn, dep: Annotated[int, Depends(dep_b)]): return ItemOut(name=item.name, value=item.value, dep=dep) @app.get("/sync/dict-no-response-model") def sync_dict_no_response_model(): return {"name": "foo", "value": 123}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
private void testItems() { for (Object item : Iterables.concat(equalityGroups)) { assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/foo?short=True ``` або ``` http://127.0.0.1:8000/items/foo?short=true ``` або ``` http://127.0.0.1:8000/items/foo?short=on ``` або ``` http://127.0.0.1:8000/items/foo?short=yes ``` або будь-який інший варіант написання (великі літери, перша літера велика тощо), ваша функція побачить параметр `short` зі значенням `True` з типом даних `bool`. В іншому випадку – `False`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:29:01 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/handling-errors.md
### レスポンス結果 クライアントが`http://example.com/items/foo`(`item_id` `"foo"`)をリクエストすると、HTTPステータスコードが200で、以下のJSONレスポンスが返されます: ```JSON { "item": "The Foo Wrestlers" } ``` しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます: ```JSON { "detail": "Item not found" } ``` /// tip | 豆知識
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/es/docs/advanced/path-operation-advanced-configuration.md
```JSON hl_lines="22" { "openapi": "3.1.0", "info": { "title": "FastAPI", "version": "0.1.0" }, "paths": { "/items/": { "get": { "summary": "Read Items", "operationId": "read_items_items__get", "responses": { "200": { "description": "Successful Response",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.3K bytes - Click Count (0)