- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 505 for Tutorial (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/advanced/async-tests.md
## Example { #example } For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md) and [Testing](../tutorial/testing.md): ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` The file `main.py` would have:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/en/docs/tutorial/debugging.md
* Run the debugger with the option "`Python: Current File (Integrated Terminal)`". It will then start the server with your **FastAPI** code, stop at your breakpoints, etc. Here's how it might look: <img src="/img/tutorial/debugging/image01.png"> --- If you use Pycharm, you can: * Open the "Run" menu. * Select the option "Debug...". * Then a context menu shows up. * Select the file to debug (in this case, `main.py`).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/ja/docs/how-to/configure-swagger-ui.md
例えば、Swagger UI のシンタックスハイライトを無効化できます。 設定を変更しなければ、シンタックスハイライトはデフォルトで有効です: <img src="/img/tutorial/extending-openapi/image02.png"> しかし、`syntaxHighlight` を `False` に設定すると無効化できます: {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *} ...その場合、Swagger UI ではシンタックスハイライトが表示されなくなります: <img src="/img/tutorial/extending-openapi/image03.png"> ## テーマの変更 { #change-the-theme }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/json-base64-bytes.md
# 使用 Base64 表示位元組的 JSON { #json-with-bytes-as-base64 } 如果你的應用需要收發 JSON 資料,但其中需要包含二進位資料,你可以將它以 base64 編碼。 ## Base64 與檔案 { #base64-vs-files } 請先考慮是否能用 [請求檔案](../tutorial/request-files.md) 來上傳二進位資料,並用 [自訂回應 - FileResponse](./custom-response.md#fileresponse--fileresponse-) 來傳送二進位資料,而不是把它們編碼進 JSON。 JSON 只能包含 UTF-8 編碼的字串,因此無法直接包含原始位元組。 Base64 可以把二進位資料編碼成字串,但為此會使用比原始二進位資料更多的字元,因此通常比直接使用檔案來得沒那麼有效率。 只有在確實必須把二進位資料包含在 JSON 裡,且無法改用檔案時,才使用 base64。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/debugging.md
然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。 看起来可能是这样: <img src="/img/tutorial/debugging/image01.png"> --- 如果使用 Pycharm,你可以: * 打开「运行」菜单。 * 选中「调试...」。 * 然后出现一个上下文菜单。 * 选择要调试的文件(本例中的 `main.py`)。 然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。 看起来可能是这样:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/ja/docs/advanced/json-base64-bytes.md
# Base64 にしたバイトを含む JSON { #json-with-bytes-as-base64 } アプリで JSON データの受信・送信が必要だが、その中にバイナリデータを含める必要がある場合は、base64 にエンコードできます。 ## Base64 とファイル { #base64-vs-files } バイナリデータのアップロードにはまず、JSON にエンコードする代わりに [Request Files](../tutorial/request-files.md) を、バイナリデータの送信には [カスタムレスポンス - FileResponse](./custom-response.md#fileresponse--fileresponse-) を使えるか検討してください。 JSON は UTF-8 でエンコードされた文字列のみを含められるため、生のバイト列は含められません。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/ja/docs/advanced/sub-applications.md
メインアプリ用の自動 API ドキュメントが表示され、そのアプリ自身の path operation のみが含まれます: <img src="/img/tutorial/sub-applications/image01.png"> 次に、サブアプリケーションのドキュメント [http://127.0.0.1:8000/subapi/docs](http://127.0.0.1:8000/subapi/docs) を開きます。 サブアプリケーション用の自動 API ドキュメントが表示され、そのアプリ自身の path operation のみが、正しいサブパス接頭辞 `/subapi` の下で表示されます: <img src="/img/tutorial/sub-applications/image02.png"> どちらの UI でも操作すれば正しく動作します。ブラウザがそれぞれのアプリ/サブアプリと通信できるためです。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/debugging.md
すると、**FastAPI** コードでサーバーが起動され、ブレークポイントで停止したりするでしょう。 以下の様な画面になります: <img src="/img/tutorial/debugging/image01.png"> --- Pycharmを使用する場合、次のことが可能です: * 「実行」メニューをオープン。 * オプション「デバッグ...」を選択。 * 次にコンテキストメニューが表示される。 * デバッグするファイル (ここでは `main.py`) を選択。 すると、**FastAPI** コードでサーバーが起動され、ブレークポイントで停止したりするでしょう。 以下の様な画面になります:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/en/docs/features.md
All the security schemes defined in OpenAPI, including: * HTTP Basic. * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md). * API keys in: * Headers. * Query parameters. * Cookies, etc. Plus all the security features from Starlette (including **session cookies**).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/middleware.md
# 進階中介軟體 { #advanced-middleware } 在主要教學中你已學過如何將[自訂中介軟體](../tutorial/middleware.md)加入到你的應用程式。 你也讀過如何處理 [使用 `CORSMiddleware` 的 CORS](../tutorial/cors.md)。 本節將示範如何使用其他中介軟體。 ## 新增 ASGI 中介軟體 { #adding-asgi-middlewares } 由於 **FastAPI** 建立在 Starlette 上並實作了 <abbr title="Asynchronous Server Gateway Interface - 非同步伺服器閘道介面">ASGI</abbr> 規範,你可以使用任何 ASGI 中介軟體。 中介軟體不一定要為 FastAPI 或 Starlette 專門撰寫,只要遵循 ASGI 規範即可運作。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.9K bytes - Click Count (0)