- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 849 for Tutorial (0.2 seconds)
-
docs/zh-hant/docs/tutorial/path-params.md
注意錯誤也清楚指出驗證未通過的確切位置。 這在開發與除錯與你的 API 互動的程式碼時非常有幫助。 /// ## 文件 { #documentation } 當你在瀏覽器開啟 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs),你會看到自動產生、可互動的 API 文件,例如: <img src="/img/tutorial/path-params/image01.png"> /// check 同樣地,只要使用那個 Python 型別宣告,**FastAPI** 就會提供自動、互動式的文件(整合 Swagger UI)。 注意路徑參數被宣告為整數。 /// ## 基於標準的優勢與替代文件 { #standards-based-benefits-alternative-documentation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Dependencies for a group of *path operations* { #dependencies-for-a-group-of-path-operations } Later, when reading about how to structure bigger applications ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md)), possibly with multiple files, you will learn how to declare a single `dependencies` parameter for a group of *path operations*. ## Global Dependencies { #global-dependencies }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/en/docs/tutorial/request-form-models.md
## Check the Docs { #check-the-docs } You can verify it in the docs UI at `/docs`: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Forbid Extra Form Fields { #forbid-extra-form-fields }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/sql-databases.md
<div class="screenshot"> <img src="/img/tutorial/sql-databases/image02.png"> </div> ## 總結 { #recap } 你可以使用 [SQLModel](https://sqlmodel.tiangolo.com/) 與 SQL 資料庫互動,並用「資料模型」與「資料表模型」讓程式碼更簡潔。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/cookie-param-models.md
**FastAPI** 會從請求收到的 **Cookie** 中擷取 **每個欄位** 的資料,並交給你定義的 Pydantic 模型。 ## 查看文件 { #check-the-docs } 你可以在 `/docs` 的文件介面中看到已定義的 Cookie: <div class="screenshot"> <img src="/img/tutorial/cookie-param-models/image01.png"> </div> /// info 請注意,由於**瀏覽器會以特殊且在背景進行的方式處理 Cookie**,因此**不會**輕易允許 **JavaScript** 存取它們。 當你前往位於 `/docs` 的 **API 文件介面**時,可以看到路徑操作的 Cookie 說明。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
* There's also a subdirectory `app/internal/` with another file `__init__.py`, so it's another "Python subpackage": `app.internal`. * And the file `app/internal/admin.py` is another submodule: `app.internal.admin`. <img src="/img/tutorial/bigger-applications/package.drawio.svg"> The same file structure with comments: ```bash . ├── app # "app" is a Python package │ ├── __init__.py # this file makes "app" a "Python package"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0) -
docs/ko/docs/advanced/behind-a-proxy.md
[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)에서 확인할 수 있습니다: <img src="/img/tutorial/behind-a-proxy/image01.png"> 하지만 프록시(포트 `9999`)를 사용해 "공식" URL인 `/api/v1/docs`에서 docs UI에 접근하면, 올바르게 동작합니다! 🎉 [http://127.0.0.1:9999/api/v1/docs](http://127.0.0.1:9999/api/v1/docs)에서 확인할 수 있습니다: <img src="/img/tutorial/behind-a-proxy/image02.png"> 원하던 그대로입니다. ✔️
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 17.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/sql-databases.md
<div class="screenshot"> <img src="/img/tutorial/sql-databases/image02.png"> </div> ## 总结 { #recap } 你可以使用 [**SQLModel**](https://sqlmodel.tiangolo.com/) 与 SQL 数据库进行交互,并通过*数据模型*和*表模型*简化代码。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
## Settings in another module { #settings-in-another-module } You could put those settings in another module file as you saw in [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md). For example, you could have a file `config.py` with: {* ../../docs_src/settings/app01_py310/config.py *} And then use it in a file `main.py`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.9K bytes - Click Count (0) -
fastapi/utils.py
"response model from the type annotation with the path operation decorator " "parameter response_model=None. Read more: " "https://fastapi.tiangolo.com/tutorial/response-model/" ) def create_model_field( name: str, type_: Any, default: Any | None = Undefined, field_info: FieldInfo | None = None, alias: str | None = None,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0)