- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for Needy (0.06 sec)
-
tests/test_tutorial/test_query_params/test_tutorial005.py
from docs_src.query_params.tutorial005_py39 import app client = TestClient(app) def test_foo_needy_very(): response = client.get("/items/foo?needy=very") assert response.status_code == 200 assert response.json() == {"item_id": "foo", "needy": "very"} def test_foo_no_needy(): response = client.get("/items/foo") assert response.status_code == 422 assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/uk/docs/tutorial/query-params.md
Тут `needy` – обов’язковий query параметр типу `str`. Якщо Ви відкриєте у браузері URL-адресу: ``` http://127.0.0.1:8000/items/foo-item ``` ...без додавання обов’язкового параметра `needy`, Ви побачите помилку: ```JSON { "detail": [ { "type": "missing", "loc": [ "query", "needy" ], "msg": "Field required",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
docs_src/query_params/tutorial006_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 269 bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params.md
"query", "needy" ], "msg": "Field required", "input": null } ] } ``` Поскольку `needy` является обязательным параметром, вам необходимо указать его в URL-адресе: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ...это будет работать: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/query-params.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.2K bytes - Viewed (0)