Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 401 for tutorial005_an_py310 (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/body_multiple_params/tutorial005_an_py310.py

    Sebastián Ramírez <******@****.***> 1679142599 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 409 bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial005_an_py310.py

    Charlie Marsh <******@****.***> 1711472213 -0400
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 510 bytes
    - Click Count (0)
  3. docs_src/path_params_numeric_validations/tutorial005_an_py310.py

    Sebastián Ramírez <******@****.***> 1770902383 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 331 bytes
    - Click Count (0)
  4. docs_src/security/tutorial005_an_py310.py

    Sebastián Ramírez <******@****.***> 1770919835 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. 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)
  6. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top