Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 510 for tutorial002_an_py310 (0.1 seconds)

  1. docs/zh/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## 导入 `File` 与 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## 定义 `File` 与 `Form` 参数 { #define-file-and-form-parameters }
    
    创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    文件和表单字段作为表单数据上传与接收。
    
    并且你可以将部分文件声明为 `bytes`,将部分文件声明为 `UploadFile`。
    
    /// warning | 警告
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/body-fields.md

    ## Importar `Field` { #import-field }
    
    Primero, tienes que importarlo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Advertencia
    
    Fíjate que `Field` se importa directamente desde `pydantic`, no desde `fastapi` como el resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/body-fields.md

    ## `Field`'ı import edin { #import-field }
    
    Önce import etmeniz gerekir:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Uyarı
    
    `Field`'ın, diğerlerinin (`Query`, `Path`, `Body` vb.) aksine `fastapi`'den değil doğrudan `pydantic`'den import edildiğine dikkat edin.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/security/simple-oauth2.md

    Importieren Sie zunächst `OAuth2PasswordRequestForm` und verwenden Sie es als Abhängigkeit mit `Depends` in der *Pfadoperation* für `/token`:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` ist eine Klassenabhängigkeit, die einen Formularbody deklariert mit:
    
    * Dem `username`.
    * Dem `password`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    ### `OAuth2PasswordRequestForm` { #oauth2passwordrequestform }
    
    First, import `OAuth2PasswordRequestForm`, and use it as a dependency with `Depends` in the *path operation* for `/token`:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` is a class dependency that declares a form body with:
    
    * The `username`.
    * The `password`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/security/simple-oauth2.md

    ### `OAuth2PasswordRequestForm` { #oauth2passwordrequestform }
    
    Primero, importa `OAuth2PasswordRequestForm`, y úsalo como una dependencia con `Depends` en la *path operation* para `/token`:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` es una dependencia de clase que declara un body de formulario con:
    
    * El `username`.
    * El `password`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## 匯入 `File` 與 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## 定義 `File` 與 `Form` 參數 { #define-file-and-form-parameters }
    
    以與 `Body` 或 `Query` 相同的方式建立檔案與表單參數:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    檔案與表單欄位會作為表單資料上傳,而你將能接收到這些檔案與欄位。
    
    你也可以將部分檔案宣告為 `bytes`,另一些宣告為 `UploadFile`。
    
    /// warning
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/request-forms.md

    ///
    
    ## Import `Form` { #import-form }
    
    Import `Form` from `fastapi`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *}
    
    ## Define `Form` parameters { #define-form-parameters }
    
    Create form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/body-fields.md

    ## Importer `Field` { #import-field }
    
    D'abord, vous devez l'importer :
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning | Alertes
    
    Notez que `Field` est importé directement depuis `pydantic`, et non depuis `fastapi` comme le sont les autres (`Query`, `Path`, `Body`, etc.).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/ru/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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 20.6K bytes
    - Click Count (0)
Back to Top