- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 850 for tutoriel (0.07 seconds)
-
docs/zh/docs/tutorial/dependencies/index.md
/// ## 与 OpenAPI 集成 { #integrated-with-openapi } 依赖项及子依赖项中声明的所有请求、验证和需求都会集成到同一个 OpenAPI 模式中。 因此,交互式文档中也会包含这些依赖项的所有信息: <img src="/img/tutorial/dependencies/image01.png"> ## 简单用法 { #simple-usage } 观察一下就会发现,只要*路径*和*操作*匹配,就会使用声明的*路径操作函数*。随后,**FastAPI** 会用正确的参数调用该函数,并从请求中提取数据。 事实上,所有(或大多数)Web 框架的工作方式都是这样的。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
scripts/translate.py
def iter_all_en_paths() -> Iterable[Path]: """ Iterate on the markdown files to translate in order of priority. """ first_dirs = [ Path("docs/en/docs/learn"), Path("docs/en/docs/tutorial"), Path("docs/en/docs/advanced"), Path("docs/en/docs/about"), Path("docs/en/docs/how-to"), ] first_parent = Path("docs/en/docs") yield from first_parent.glob("*.md")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/index.md
/// ## 與 OpenAPI 整合 { #integrated-with-openapi } 你的依賴(以及其子依賴)所宣告的所有請求參數、驗證與需求,都會整合進同一份 OpenAPI 結構中。 因此,互動式文件也會包含來自這些依賴的所有資訊: <img src="/img/tutorial/dependencies/image01.png"> ## 簡單用法 { #simple-usage } 想一想,「路徑操作函式」是宣告好讓框架在「路徑」與「操作」符合時使用的,然後 **FastAPI** 會負責帶入正確的參數、從請求中擷取資料,並呼叫該函式。 其實,所有(或大多數)Web 框架都是這樣運作。 你從不會直接呼叫這些函式。它們是由框架(此處是 **FastAPI**)呼叫的。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/en/docs/deployment/server-workers.md
* Security - HTTPS * Running on startup * Restarts * **Replication (the number of processes running)** * Memory * Previous steps before starting Up to this point, with all the tutorials in the docs, you have probably been running a **server program**, for example, using the `fastapi` command, that runs Uvicorn, running a **single process**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/index.md
Ainsi, la documentation interactive contiendra aussi toutes les informations issues de ces dépendances : <img src="/img/tutorial/dependencies/image01.png"> ## Utilisation simple { #simple-usage }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/ja/docs/advanced/security/http-basic-auth.md
- 送信された `username` と `password` を含みます。 {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *} URL を最初に開こうとしたとき(またはドキュメントで「Execute」ボタンをクリックしたとき)、ブラウザはユーザー名とパスワードの入力を求めます: <img src="/img/tutorial/security/image12.png"> ## ユーザー名の確認 { #check-the-username } より完全な例です。 依存関係を使ってユーザー名とパスワードが正しいかを確認します。 これには、Python 標準モジュール [`secrets`](https://docs.python.org/3/library/secrets.html) を用いてユーザー名とパスワードを検証します。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/ja/docs/advanced/stream-data.md
# データのストリーミング { #stream-data } JSON として構造化できるデータをストリームしたい場合は、[JSON Lines をストリームする](../tutorial/stream-json-lines.md) を参照してください。 しかし、純粋なバイナリデータや文字列をストリームしたい場合は、次のようにできます。 /// info | 情報 FastAPI 0.134.0 で追加されました。 /// ## ユースケース { #use-cases } 例えば、AI LLM サービスの出力をそのまま、純粋な文字列としてストリームしたい場合に使えます。 メモリに一度に全て読み込むことなく、読み込みながらチャンクごとに送ることで、巨大なバイナリファイルをストリームすることにも使えます。 同様に、動画や音声をストリームすることもできます。処理しながら生成し、そのまま送信することも可能です。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 6.7K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Los "Context Managers" son aquellos objetos de Python que puedes usar en un `with` statement. Por ejemplo, [puedes usar `with` para leer un archivo](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (0) -
docs/zh/docs/features.md
所有的校验都由完善且强大的 **Pydantic** 处理。 ### 安全性及身份验证 { #security-and-authentication } 集成了安全性和身份认证。杜绝数据库或者数据模型的渗透风险。 OpenAPI 中定义的安全模式,包括: * HTTP 基本认证。 * **OAuth2**(也使用 **JWT tokens**)。在 [使用 JWT 的 OAuth2](tutorial/security/oauth2-jwt.md) 查看教程。 * API 密钥,在: * 请求头。 * 查询参数。 * Cookies,等等。 加上来自 Starlette(包括 **session cookie**)的所有安全特性。 所有的这些都是可复用的工具和组件,可以轻松与你的系统,数据仓库,关系型以及 NoSQL 数据库等等集成。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
"Context Managers" are any of those Python objects that you can use in a `with` statement. For example, [you can use `with` to read a file](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0)