- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 279 for tutorial005_an_py310 (0.2 seconds)
-
docs/ja/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} では、これらの変更を一つずつ確認していきます。 ## OAuth2 のセキュリティスキーム { #oauth2-security-scheme } 最初の変更点は、`me` と `items` の 2 つのスコープを持つ OAuth2 セキュリティスキームを宣言していることです。 `scopes` パラメータは、各スコープをキー、その説明を値とする `dict` を受け取ります: {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 16.6K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} 接著我們一步一步檢視這些變更。 ## OAuth2 安全性方案 { #oauth2-security-scheme } 第一個變更是:我們現在宣告了帶有兩個可用 scope 的 OAuth2 安全性方案,`me` 與 `items`。 參數 `scopes` 接收一個 `dict`,以各 scope 為鍵、其描述為值: {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *} 由於現在宣告了這些 scopes,當你登入/授權時,它們會出現在 API 文件中。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 12.7K bytes - Click Count (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} 下面我们逐步回顾这些更改。 ## OAuth2 安全方案 { #oauth2-security-scheme } 第一个变化是:我们在声明 OAuth2 安全方案时,添加了两个可用的作用域 `me` 和 `items`。 参数 `scopes` 接收一个 `dict`,以作用域为键、描述为值: {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *} 因为我们现在声明了这些作用域,所以当你登录/授权时,它们会显示在 API 文档里。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *} ## Number validations: greater than and less than or equal { #number-validations-greater-than-and-less-than-or-equal } The same applies for: * `gt`: `g`reater `t`han * `le`: `l`ess than or `e`qual {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *} ## 數值驗證:大於或等於 { #number-validations-greater-than-or-equal } 使用 `Query` 和 `Path`(以及你之後會看到的其他類別)可以宣告數值限制。 這裡用 `ge=1`,代表 `item_id` 必須是「大於(`g`reater)或等於(`e`qual)」`1` 的整數。 {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.8K bytes - Click Count (0) -
pyproject.toml
"docs_src/dependencies/tutorial013_an_py310.py", # temporary code example? "docs_src/dependencies/tutorial014_an_py310.py", # temporary code example? # Pydantic v1 migration, no longer tested "docs_src/pydantic_v1_in_v2/tutorial001_an_py310.py", "docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py", "docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *} ## 숫자 검증: 크거나 같음 { #number-validations-greater-than-or-equal } `Query`와 `Path`(그리고 나중에 볼 다른 것들)를 사용하여 숫자 제약을 선언할 수 있습니다. 여기서 `ge=1`인 경우, `item_id`는 `1`보다 "`g`reater than or `e`qual"(크거나 같은) 정수형 숫자여야 합니다. {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003_an_py310.py hl[10] *} ## 数值校验:大于等于 { #number-validations-greater-than-or-equal } 使用 `Query` 和 `Path`(以及你稍后会看到的其他类)你可以声明数值约束。 在这里,使用 `ge=1` 后,`item_id` 必须是一个整数,值要「`g`reater than or `e`qual」1。 {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6K bytes - Click Count (0) -
docs/en/docs/tutorial/schema-extra-example.md
* `externalValue`: alternative to `value`, a URL pointing to the example. Although this might not be supported by as many tools as `value`. You can use it like this: {* ../../docs_src/schema_extra_example/tutorial005_an_py310.py hl[23:49] *} ### OpenAPI Examples in the Docs UI { #openapi-examples-in-the-docs-ui } With `openapi_examples` added to `Body()` the `/docs` would look like:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.7K bytes - Click Count (0)