- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 873 for Python3 (0.22 sec)
-
docs/ja/docs/tutorial/static-files.md
# 静的ファイル `StaticFiles` を使用して、ディレクトリから静的ファイルを自動的に提供できます。 ## `StaticFiles` の使用 * `StaticFiles` をインポート。 * `StaticFiles()` インスタンスを生成し、特定のパスに「マウント」。 ```Python hl_lines="2 6" {!../../docs_src/static_files/tutorial001.py!} ``` /// note | "技術詳細" `from starlette.staticfiles import StaticFiles` も使用できます。 **FastAPI**は、開発者の利便性のために、`starlette.staticfiles` と同じ `fastapi.staticfiles` を提供します。しかし、実際にはStarletteから直接渡されています。 ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/pt/docs/advanced/openapi-webhooks.md
Quando você cria uma aplicação com o **FastAPI**, existe um atributo chamado `webhooks`, que você utilizar para defini-los da mesma maneira que você definiria as suas **operações de rotas**, utilizando por exemplo `@app.webhooks.post()`. ```Python hl_lines="9-13 36-53" {!../../docs_src/openapi_webhooks/tutorial001.py!} ``` Os webhooks que você define aparecerão no esquema do **OpenAPI** e na **página de documentação** gerada automaticamente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/fastapi-cli.md
<font color="#3465A4">INFO </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮ │ │ │ 🐍 main.py │ │ │ ╰──────────────────────╯ <font color="#3465A4">INFO </font> Importing module <font color="#4E9A06">main</font>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/em/docs/advanced/additional-status-codes.md
✋️ 👆 💚 ⚫️ 🚫 🆕 🏬. & 🕐❔ 🏬 🚫 🔀 ⏭, ⚫️ ✍ 👫, & 📨 🇺🇸🔍 👔 📟 2️⃣0️⃣1️⃣ "✍". 🏆 👈, 🗄 `JSONResponse`, & 📨 👆 🎚 📤 🔗, ⚒ `status_code` 👈 👆 💚: ```Python hl_lines="4 25" {!../../docs_src/additional_status_codes/tutorial001.py!} ``` /// warning 🕐❔ 👆 📨 `Response` 🔗, 💖 🖼 🔛, ⚫️ 🔜 📨 🔗. ⚫️ 🏆 🚫 🎻 ⏮️ 🏷, ♒️.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/ru/docs/benchmarks.md
Но при просмотре и сравнении замеров производительности следует иметь в виду нижеописанное. ## Замеры производительности и скорости
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 13 17:52:11 UTC 2023 - 6.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-converter-issue.md
``` #### Option B: Paste your code here or provide a link to a custom end-to-end colab ``` (You can paste links or attach files by dragging & dropping them below) - Include code to invoke the TFLite Converter Python API and the errors. - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model. ``` ### 3. Failure after conversion
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 2.1K bytes - Viewed (0) -
docs/de/docs/benchmarks.md
Beim Ansehen von Benchmarks und Vergleichen sollten Sie jedoch Folgende Punkte beachten. ## Benchmarks und Geschwindigkeit
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 23 16:04:13 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/zh/docs/advanced/using-request-directly.md
不过,仍可以验证、转换与注释(使用 Pydantic 模型的请求体等)其它正常声明的参数。 但在某些特定情况下,还是需要提取 `Request` 对象。 ## 直接使用 `Request` 对象 假设要在*路径操作函数*中获取客户端 IP 地址和主机。 此时,需要直接访问请求。 ```Python hl_lines="1 7-8" {!../../docs_src/using_request_directly/tutorial001.py!} ``` 把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。 /// tip | "提示" 注意,本例除了声明请求参数之外,还声明了路径参数。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/id/docs/tutorial/index.md
Sehingga kamu dapat kembali lagi dan mencari apa yang kamu butuhkan dengan tepat. ## Jalankan kode Semua blok-blok kode dapat disalin dan digunakan langsung (Mereka semua sebenarnya adalah file python yang sudah teruji). Untuk menjalankan setiap contoh, salin kode ke file `main.py`, dan jalankan `uvicorn` dengan: <div class="termy"> ```console $ uvicorn main:app --reload
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/em/docs/alternatives.md
👈 ⚫️❔, 💬 🛂 🕸: > 📨 1️⃣ 🏆 ⏬ 🐍 📦 🌐 🕰 🌌 👆 ⚙️ ⚫️ 📶 🙅. 🖼, `GET` 📨, 👆 🔜 ✍: ```Python response = requests.get("http://example.com/some/url") ``` FastAPI 😑 🛠️ *➡ 🛠️* 💪 👀 💖: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` 👀 🔀 `requests.get(...)` & `@app.get(...)`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.7K bytes - Viewed (0)