Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 519 for tutorial003_an_py310 (0.09 seconds)

  1. docs/pt/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] *}
    
    Agora vamos revisar essas mudanças passo a passo.
    
    ## Esquema de segurança OAuth2 { #oauth2-security-scheme }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/cookie-params.md

    ## Importer `Cookie` { #import-cookie }
    
    Commencez par importer `Cookie` :
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## Déclarer des paramètres `Cookie` { #declare-cookie-parameters }
    
    Déclarez ensuite les paramètres de cookie en utilisant la même structure qu'avec `Path` et `Query`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“ { #first-dependency-dependable }
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Diese deklariert einen optionalen Query-Parameter `q` vom Typ `str` und gibt ihn dann einfach zurück.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    你可以创建一个第一层依赖项(“dependable”),如下:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。
    
    这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。
    
    ## 第二层依赖项,“dependable”和“dependant” { #second-dependency-dependable-and-dependant }
    
    接下来,创建另一个依赖项函数(一个“dependable”),并同时为它自身再声明一个依赖项(因此它同时也是一个“dependant”):
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *}
    
    这里重点说明一下声明的参数:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  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/de/docs/tutorial/body-fields.md

    ## `Field` importieren { #import-field }
    
    Importieren Sie es zuerst:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Achtung
    
    Beachten Sie, dass `Field` direkt von `pydantic` importiert wird, nicht von `fastapi`, wie die anderen (`Query`, `Path`, `Body`, usw.)
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## `File` und `Form`-Parameter definieren { #define-file-and-form-parameters }
    
    Erstellen Sie Datei- und Formularparameter, so wie Sie es auch mit `Body` oder `Query` machen würden:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/request-forms-and-files.md

    ## Import `File` and `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
Back to Top