- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 726 for item_e (0.03 sec)
-
tests/test_tutorial/test_events/test_tutorial001.py
}, "summary": "Read Items", "operationId": "read_items_items__item_id__get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "string"}, "name": "item_id", "in": "path",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
}, "/items/{item_id}": { "get": { "tags": ["items"], "summary": "Read Item", "operationId": "read_item_items__item_id__get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "string"},Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 21.3K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial002.py
assert response.json() == {"detail": "Item not found"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items-header/{item_id}": { "get": { "responses": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/ru/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 32K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
response = client.get("/items/") assert response.status_code == 200 assert response.json() == {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} def test_query_params_str_validations_q_fixedquery(client: TestClient): response = client.get("/items/", params={"q": "fixedquery"}) assert response.status_code == 200 assert response.json() == { "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial003.py
@pytest.mark.parametrize( ("path", "expected_json"), [ ( "/items/foo", { "item_id": "foo", "description": "This is an amazing item that has a long description", }, ), ( "/items/bar?q=somequery", { "item_id": "bar", "q": "somequery",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
response = client.get("/items/") assert response.status_code == 200 assert response.json() == {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} def test_query_params_str_validations_q_fixedquery(client: TestClient): response = client.get("/items/", params={"q": "fixedquery"}) assert response.status_code == 200 assert response.json() == { "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 12:45:20 UTC 2025 - 5.1K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial002_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 276 bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
[ ( "/users/123/items/foo", { "item_id": "foo", "owner_id": 123, "description": "This is an amazing item that has a long description", }, ), ( "/users/1/items/bar?q=somequery", { "item_id": "bar", "owner_id": 1,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.3K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006c_an_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 301 bytes - Viewed (0)