- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 779 for tutorial004_py310 (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/fr/docs/tutorial/server-sent-events.md
{* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *} ## SSE avec POST { #sse-with-post } SSE fonctionne avec **n’importe quelle méthode HTTP**, pas seulement `GET`. C’est utile pour des protocoles comme [MCP](https://modelcontextprotocol.io) qui diffusent des SSE via `POST` : {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *} ## Détails techniques { #technical-details }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
Cela n’apparaîtra pas dans la documentation, mais d’autres outils (comme Sphinx) pourront utiliser le reste. {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *} ## Réponses supplémentaires { #additional-responses } Vous avez probablement vu comment déclarer le `response_model` et le `status_code` pour un chemin d’accès.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8K bytes - Click Count (0) -
docs/uk/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Тут, хоча наша *функція операції шляху* повертає того самого вхідного користувача, який містить пароль: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...ми оголосили `response_model` як нашу модель `UserOut`, яка не містить пароля: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Здесь, хотя *функция-обработчик пути* возвращает тот же входной объект пользователя, содержащий пароль: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...мы объявили `response_model` как модель `UserOut`, в которой нет пароля: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 25.5K bytes - Click Count (0) -
docs/de/docs/python-types.md
Nehmen wir an, Sie haben eine Klasse `Person`, mit einem Namen: {* ../../docs_src/python_types/tutorial010_py310.py hl[1:3] *} Dann können Sie eine Variable vom Typ `Person` deklarieren: {* ../../docs_src/python_types/tutorial010_py310.py hl[6] *} Und wiederum bekommen Sie die volle Editor-Unterstützung: <img src="/img/python-types/image06.png">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.6K bytes - Click Count (1) -
docs/tr/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Burada *path operation function* password içeren aynı input user’ı döndürüyor olsa bile: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...`response_model` olarak, password’ü içermeyen `UserOut` modelimizi declare ettik: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0) -
docs/uk/docs/advanced/additional-responses.md
``` Цей прийом можна використати, щоб перевикористовувати деякі попередньо визначені відповіді у ваших операціях шляху та поєднувати їх із додатковими власними. Наприклад: {* ../../docs_src/additional_responses/tutorial004_py310.py hl[11:15,24] *} ## Докладніше про відповіді OpenAPI { #more-information-about-openapi-responses } Щоб побачити, що саме можна включати у відповіді, ознайомтеся з цими розділами специфікації OpenAPI:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 11.7K bytes - Click Count (0) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from tests.utils import needs_py310, workdir_lock @pytest.fixture( name="client", params=[ pytest.param("tutorial004_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_responses.{request.param}") client = TestClient(mod.app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 10:53:47 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/es/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Aquí, aunque nuestra *path operation function* está devolviendo el mismo usuario de entrada que contiene la contraseña: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...hemos declarado el `response_model` para ser nuestro modelo `UserOut`, que no incluye la contraseña:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.1K bytes - Click Count (0) -
docs/de/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Obwohl unsere *Pfadoperation-Funktion* hier denselben `user` von der Eingabe zurückgibt, der das Passwort enthält: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 17.5K bytes - Click Count (0)