- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 69 for Gun (0.03 seconds)
-
docs/de/docs/tutorial/server-sent-events.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/server-sent-events.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 4.9K bytes - Click Count (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
"/items?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200 assert response.json() == { "plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}, } def test_items_with_no_token_jessica(client: TestClient): response = client.get("/items", headers={"X-Token": "fake-super-secret-token"}) assert response.status_code == 422Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 22.8K bytes - Click Count (0) -
docs/uk/docs/tutorial/request-form-models.md
Якщо клієнт спробує надіслати додаткові дані, він отримає **відповідь з помилкою**. Наприклад, якщо клієнт спробує надіслати поля форми: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` Він отримає відповідь із помилкою, яка повідомляє, що поле `extra` не дозволено: ```json { "detail": [ { "type": "extra_forbidden",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/tr/docs/tutorial/stream-json-lines.md
Response’un `application/json` yerine `application/jsonl` içerik türü (Content-Type) olur ve body aşağıdaki gibi görünür: ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/request-form-models.md
Caso um cliente tente enviar informações adicionais, ele receberá um retorno de **erro**. Por exemplo, se o cliente tentar enviar os campos de formulário: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` Ele receberá um retorno de erro informando-o que o campo `extra` não é permitido: ```json { "detail": [ { "type": "extra_forbidden",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-form-models.md
你可以使用 Pydantic 的模型設定來 `forbid` 任何 `extra` 欄位: {* ../../docs_src/request_form_models/tutorial002_an_py310.py hl[12] *} 如果用戶端嘗試傳送額外資料,將會收到錯誤回應。 例如,用戶端若送出以下表單欄位: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` 他們會收到一個錯誤回應,告知欄位 `extra` 不被允許: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"],Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2K bytes - Click Count (0) -
docs/tr/docs/tutorial/server-sent-events.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:51:35 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/ru/docs/tutorial/server-sent-events.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7.4K bytes - Click Count (0) -
docs/fr/docs/tutorial/stream-json-lines.md
Une réponse aurait un type de contenu `application/jsonl` (au lieu de `application/json`) et le corps ressemblerait à ceci : ```json {"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 4.9K bytes - Click Count (0)