Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 874 for tutorial001 (0.11 sec)

  1. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005.py!}
    ```
    
    ////
    
    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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    ๐Ÿ‘ซ ๐Ÿ’ช **โฌ** ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ‘ซ.
    
    **FastAPI** ๐Ÿ”œ โœŠ ๐Ÿ’… ๐Ÿ”ฌ ๐Ÿ‘ซ.
    
    ## ๐Ÿฅ‡ ๐Ÿ”— "โ˜‘"
    
    ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿฅ‡ ๐Ÿ”— ("โ˜‘") ๐Ÿ’–:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="6-7"
    {!> ../../docs_src/dependencies/tutorial005_py310.py!}
    ```
    
    ////
    
    โšซ๏ธ ๐Ÿ“ฃ ๐Ÿ“ฆ ๐Ÿ”ข ๐Ÿ”ข `q` `str`, & โคด๏ธ โšซ๏ธ ๐Ÿ“จ โšซ๏ธ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ```
    
    ////
    
    //// tab | Python 3.8 non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="17"
    {!> ../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ////
    
    These dependencies will be executed/solved the same way as normal dependencies. But their value (if they return any) won't be passed to your *path operation function*.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ```
    
    ////
    
    //// tab | Python 3.8 Annotated๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ
    
    /// tip | "ํŒ"
    
    ๊ฐ€๋Šฅํ•˜๋‹ค๋ฉด `Annotated`๊ฐ€ ๋‹ฌ๋ฆฐ ๋ฒ„์ „์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
    
    ///
    
    ```Python hl_lines="17"
    {!> ../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ////
    
    ์ด๋Ÿฌํ•œ ์˜์กด์„ฑ๋“ค์€ ๊ธฐ์กด ์˜์กด์„ฑ๋“ค๊ณผ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ์‹คํ–‰/ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๊ฐ’์€ (๋ฌด์—‡์ด๋“  ๋ฐ˜ํ™˜ํ•œ๋‹ค๋ฉด) *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์— ์ œ๊ณต๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    /// tip | "ํŒ"
    
    ์ผ๋ถ€ ํŽธ์ง‘๊ธฐ์—์„œ๋Š” ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” ํ•จ์ˆ˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๊ฒ€์‚ฌํ•˜๊ณ  ์˜ค๋ฅ˜๋กœ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="4  76"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    `OAuth2PasswordRequestForm` is a class dependency that declares a form body with:
    
    * The `username`.
    * The `password`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/security/simple-oauth2.md

    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls mรถglich.
    
    ///
    
    ```Python hl_lines="4  76"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    `OAuth2PasswordRequestForm` ist eine Klassenabhรคngigkeit, die einen Formularbody deklariert mit:
    
    * Dem `username`.
    * Dem `password`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8 nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls mรถglich.
    
    ///
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005.py!}
    ```
    
    ////
    
    Diese deklariert einen optionalen Abfrageparameter `q` vom Typ `str` und gibt ihn dann einfach zurรผck.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/oauth2-jwt.md

    & โž•1๏ธโƒฃ ๐Ÿš™ โœ” ๐Ÿšฅ ๐Ÿ“จ ๐Ÿ” ๐Ÿ #๏ธโƒฃ ๐Ÿช.
    
    & โž•1๏ธโƒฃ 1๏ธโƒฃ ๐Ÿ”“ & ๐Ÿ“จ ๐Ÿ‘ฉโ€๐Ÿ’ป.
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="7  48  55-56  59-60  69-75"
    {!> ../../docs_src/security/tutorial004.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="6  47  54-55  58-59  68-74"
    {!> ../../docs_src/security/tutorial004_py310.py!}
    ```
    
    ////
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/response-cookies.md

    # ์‘๋‹ต ์ฟ ํ‚ค
    
    ## `Response` ๋งค๊ฐœ๋ณ€์ˆ˜ ์‚ฌ์šฉํ•˜๊ธฐ
    
    *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์—์„œ `Response` ํƒ€์ž…์˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ๊ทธ๋Ÿฐ ๋‹ค์Œ ํ•ด๋‹น *์ž„์‹œ* ์‘๋‹ต ๊ฐ์ฒด์—์„œ ์ฟ ํ‚ค๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    ๊ทธ๋Ÿฐ ๋‹ค์Œ ํ•„์š”ํ•œ ๊ฐ์ฒด(`dict`, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ชจ๋ธ ๋“ฑ)๋ฅผ ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ๊ทธ๋ฆฌ๊ณ  `response_model`์„ ์„ ์–ธํ–ˆ๋‹ค๋ฉด ๋ฐ˜ํ™˜ํ•œ ๊ฐ์ฒด๋ฅผ ๊ฑฐ๋ฅด๊ณ  ๋ณ€ํ™˜ํ•˜๋Š” ๋ฐ ์—ฌ์ „ํžˆ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.
    
    **FastAPI**๋Š” ๊ทธ *์ž„์‹œ* ์‘๋‹ต์—์„œ ์ฟ ํ‚ค(๋˜ํ•œ ํ—ค๋” ๋ฐ ์ƒํƒœ ์ฝ”๋“œ)๋ฅผ ์ถ”์ถœํ•˜๊ณ , ๋ฐ˜ํ™˜๋œ ๊ฐ’์ด ํฌํ•จ๋œ ์ตœ์ข… ์‘๋‹ต์— ์ด๋ฅผ ๋„ฃ์Šต๋‹ˆ๋‹ค. ์ด ๊ฐ’์€ `response_model`๋กœ ๊ฑธ๋Ÿฌ์ง€๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:32:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    /// tip | Dica
    
    Prefira utilizar a versรฃo `Annotated` se possรญvel.
    
    ///
    
    ```Python hl_lines="2  5  9  13  47  65  106  108-116  122-125  129-135  140  156"
    {!> ../../docs_src/security/tutorial005.py!}
    ```
    
    ////
    
    Agora vamos revisar essas mudanรงas passo a passo.
    
    ## Esquema de seguranรงa OAuth2
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top