- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 787 for py (0.01 sec)
-
docs/es/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001.py *} Copia eso en un archivo `main.py`. Ejecuta el servidor en vivo: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 17:46:44 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/em/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002.py hl[25] *} ## 🤚 👩💻 `get_current_user` 🔜 ⚙️ (❌) 🚙 🔢 👥 ✍, 👈 ✊ 🤝 `str` & 📨 👆 Pydantic `User` 🏷: {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *} ## 💉 ⏮️ 👩💻 🔜 👥 💪 ⚙️ 🎏 `Depends` ⏮️ 👆 `get_current_user` *➡ 🛠️*: {* ../../docs_src/security/tutorial002.py hl[31] *} 👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
### Defina um sub-modelo Por exemplo, nós podemos definir um modelo `Image`: {* ../../docs_src/body_nested_models/tutorial004.py hl[9:11] *} ### Use o sub-modelo como um tipo E então podemos usa-lo como o tipo de um atributo: {* ../../docs_src/body_nested_models/tutorial004.py hl[20] *} Isso significa que o **FastAPI** vai esperar um corpo similar à: ```JSON { "name": "Foo",Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/zh-hant/docs/tutorial/first-steps.md
# 第一步 最簡單的 FastAPI 檔案可能看起來像這樣: {* ../../docs_src/first_steps/tutorial001.py *} 將其複製到一個名為 `main.py` 的文件中。 執行即時重新載入伺服器(live server): <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 09 12:20:58 UTC 2024 - 11.6K bytes - Viewed (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:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.9K bytes - Viewed (0) -
docs/em/docs/advanced/websockets.md
👉, ↗️, 🚫 ⚖ & 👆 🚫🔜 ⚙️ ⚫️ 🏭. 🏭 👆 🔜 ✔️ 1️⃣ 🎛 🔛. ✋️ ⚫️ 🙅 🌌 🎯 🔛 💽-🚄 *️⃣ & ✔️ 👷 🖼: {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *} ## ✍ `websocket` 👆 **FastAPI** 🈸, ✍ `websocket`: {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *} /// note | 📡 ℹ 👆 💪 ⚙️ `from starlette.websockets import WebSocket`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
In your WebSocket route you can `await` for messages and send messages. {* ../../docs_src/websockets/tutorial001.py hl[48:52] *} You can receive and send binary, text, and JSON data. ## Try it { #try-it } If your file is named `main.py`, run your application with: <div class="termy"> ```console $ fastapi dev main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.7K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
### **FastAPI** アプリファイル **FastAPI** アプリに `main.py` ファイルがあるとします: {* ../../docs_src/app_testing/main.py *} ### テストファイル 次に、テストを含む `test_main.py` ファイルを作成し、`main` モジュール (`main.py`) から `app` をインポートします: {* ../../docs_src/app_testing/test_main.py *} ## テスト: 例の拡張 次に、この例を拡張し、詳細を追加して、さまざまなパーツをテストする方法を確認しましょう。 ### 拡張版 **FastAPI** アプリファイル **FastAPI** アプリに `main_b.py` ファイルがあるとします。Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
# Pierwsze kroki Najprostszy plik FastAPI może wyglądać tak: {* ../../docs_src/first_steps/tutorial001.py *} Skopiuj to do pliku `main.py`. Uruchom serwer: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.6K bytes - Viewed (0)