- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 2,110 for py$ (0.01 seconds)
-
docs/en/docs/advanced/openapi-callbacks.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-status-code.md
## 名前を覚えるための近道 { #shortcut-to-remember-the-names } 先ほどの例をもう一度見てみましょう: {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *} `201`は「作成完了」のためのステータスコードです。 しかし、それぞれのコードの意味を暗記する必要はありません。 `fastapi.status`の便利な変数を利用することができます。 {* ../../docs_src/response_status_code/tutorial002_py310.py hl[1,6] *} それらは単なる便利なものであり、同じ番号を保持しています。しかし、その方法ではエディタの自動補完を使用してそれらを見つけることができます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/en/docs/how-to/authentication-error-status-code.md
For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error: {* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *} /// tip Notice that the function returns the exception instance, it doesn't raise it. The raising is done in the rest of the internal code.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/behind-a-proxy.md
你可以在每個請求中取得應用使用的 `root_path`,它是 `scope` 字典的一部分(ASGI 規格的一部分)。 這裡我們把它放到回傳訊息中只是為了示範。 {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[8] *} 接著,如果你用下列方式啟動 Uvicorn: <div class="termy"> ```console $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 15.3K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
## Create a TypeScript SDK { #create-a-typescript-sdk } Let's start with a simple FastAPI application: {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *} Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`. ### API Docs { #api-docs }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
docs/zh/docs/advanced/generate-clients.md
其中一些方案也可能是开源的或提供免费层级,你可以不花钱就先试用。其他商业 SDK 生成器也可在网上找到。🤓 ## 创建一个 TypeScript SDK { #create-a-typescript-sdk } 先从一个简单的 FastAPI 应用开始: {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *} 请注意,这些*路径操作*使用 `Item` 和 `ResponseMessage` 模型来定义它们的请求载荷和响应载荷。 ### API 文档 { #api-docs } 访问 `/docs` 时,你会看到有用于请求发送和响应接收数据的**模式**: <img src="/img/tutorial/generate-clients/image01.png">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.9K bytes - Click Count (0) -
.bazelrc
# These are used to generate the ML wheel version string. # See the explanation in the file comment of # @xla//third_party/py/python_wheel.bzl. # The generated version suffix is used in # third_party/tensorflow/core/public/release_version.h and # third_party/tensorflow/tools/pip_package/setup.oss.py.tpl common --repo_env=ML_WHEEL_TYPE="snapshot" common --repo_env=ML_WHEEL_BUILD_DATE="" common --repo_env=ML_WHEEL_VERSION_SUFFIX=""
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Mar 28 04:33:01 GMT 2026 - 58.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### 文件 UI 中的範例 { #example-in-the-docs-ui } 使用以上任一方法,在 `/docs` 中看起來會像這樣: <img src="/img/tutorial/body-fields/image01.png"> ### `Body` 搭配多個 `examples` { #body-with-multiple-examples } 當然,你也可以傳入多個 `examples`: {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *} 這麼做時,這些範例會成為該 body 資料內部 **JSON Schema** 的一部分。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/ja/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### ドキュメントUIでの例 { #example-in-the-docs-ui } 上記のいずれの方法でも、`/docs`の中では以下のようになります: <img src="/img/tutorial/body-fields/image01.png"> ### 複数の`examples`を使う`Body` { #body-with-multiple-examples } もちろん、複数の`examples`を渡すこともできます: {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *} この場合、examplesはそのボディデータの内部**JSON Schema**の一部になります。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/request-forms.md
``` /// ## `Form` 임포트하기 { #import-form } `fastapi`에서 `Form`을 임포트합니다: {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *} ## `Form` 매개변수 정의하기 { #define-form-parameters } `Body` 또는 `Query`와 동일한 방식으로 폼 매개변수를 만듭니다: {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *} 예를 들어, OAuth2 사양을 사용할 수 있는 방법 중 하나("패스워드 플로우"라고 함)로 `username`과 `password`를 폼 필드로 보내야 합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3K bytes - Click Count (0)