Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 630 for hl (0.01 sec)

  1. docs/de/docs/advanced/behind-a-proxy.md

    Auch wenn Ihr gesamter Code unter der Annahme geschrieben ist, dass es nur `/app` gibt.
    
    {* ../../docs_src/behind_a_proxy/tutorial001.py hl[6] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/async-tests.md

    </div>
    
    ## โ„น
    
    ๐Ÿ“‘ `@pytest.mark.anyio` ๐Ÿ’ฌ โœณ ๐Ÿ‘ˆ ๐Ÿ‘‰ ๐Ÿ’ฏ ๐Ÿ”ข ๐Ÿ”œ ๐Ÿค™ ๐Ÿ”:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip
    
    ๐Ÿ—’ ๐Ÿ‘ˆ ๐Ÿ’ฏ ๐Ÿ”ข ๐Ÿ”œ `async def` โ†ฉ๏ธ `def` โญ ๐Ÿ•โ” โš™๏ธ `TestClient`.
    
    ///
    
    โคด๏ธ ๐Ÿ‘ฅ ๐Ÿ’ช โœ `AsyncClient` โฎ๏ธ ๐Ÿ“ฑ, &amp; ๐Ÿ“จ ๐Ÿ” ๐Ÿ“จ โšซ๏ธ, โš™๏ธ `await`.
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    ๐Ÿ‘‰ ๐ŸŒ“:
    
    ```Python
    response = client.get('/')
    ```
    
    ...๐Ÿ‘ˆ ๐Ÿ‘ฅ โš™๏ธ โš’ ๐Ÿ‘† ๐Ÿ“จ โฎ๏ธ `TestClient`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/response-headers.md

    # ์‘๋‹ต ํ—ค๋”
    
    ## `Response` ๋งค๊ฐœ๋ณ€์ˆ˜ ์‚ฌ์šฉํ•˜๊ธฐ
    
    ์—ฌ๋Ÿฌ๋ถ„์€ *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜*์—์„œ `Response` ํƒ€์ž…์˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค (์ฟ ํ‚ค์™€ ๊ฐ™์ด ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค).
    
    ๊ทธ๋Ÿฐ ๋‹ค์Œ, ์—ฌ๋Ÿฌ๋ถ„์€ ํ•ด๋‹น *์ž„์‹œ* ์‘๋‹ต ๊ฐ์ฒด์—์„œ ํ—ค๋”๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1,7:8] *}
    
    ๊ทธ ํ›„, ์ผ๋ฐ˜์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋“ฏ์ด ํ•„์š”ํ•œ ๊ฐ์ฒด(`dict`, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ชจ๋ธ ๋“ฑ)๋ฅผ ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    `response_model`์„ ์„ ์–ธํ•œ ๊ฒฝ์šฐ, ๋ฐ˜ํ™˜ํ•œ ๊ฐ์ฒด๋ฅผ ํ•„ํ„ฐ๋งํ•˜๊ณ  ๋ณ€ํ™˜ํ•˜๋Š” ๋ฐ ์—ฌ์ „ํžˆ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.
    
    **FastAPI**๋Š” ํ•ด๋‹น *์ž„์‹œ* ์‘๋‹ต์—์„œ ํ—ค๋”(์ฟ ํ‚ค์™€ ์ƒํƒœ ์ฝ”๋“œ๋„ ํฌํ•จ)๋ฅผ ์ถ”์ถœํ•˜์—ฌ, ์—ฌ๋Ÿฌ๋ถ„์ด ๋ฐ˜ํ™˜ํ•œ ๊ฐ’์„ ํฌํ•จํ•˜๋Š” ์ตœ์ข… ์‘๋‹ต์— `response_model`๋กœ ํ•„ํ„ฐ๋ง๋œ ๊ฐ’์„ ๋„ฃ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-headers.md

    Puedes declarar un parรกmetro de tipo `Response` en tu *funciรณn de path operation* (como puedes hacer para cookies).
    
    Y luego puedes establecer headers en ese objeto de response *temporal*.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    Y luego puedes devolver cualquier objeto que necesites, como harรญas normalmente (un `dict`, un modelo de base de datos, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/header-param-models.md

    ์ด ๊ธฐ๋Šฅ์€ FastAPI ๋ฒ„์ „ `0.115.0` ์ดํ›„๋ถ€ํ„ฐ ์ง€์›๋ฉ๋‹ˆ๋‹ค. ๐Ÿค“
    
    ///
    
    ## Pydantic ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•œ ํ—ค๋” ๋งค๊ฐœ๋ณ€์ˆ˜
    
    **Pydantic ๋ชจ๋ธ**์— ํ•„์š”ํ•œ **ํ—ค๋” ๋งค๊ฐœ๋ณ€์ˆ˜**๋ฅผ ์„ ์–ธํ•œ ๋‹ค์Œ, ํ•ด๋‹น ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ `Header`๋กœ ์„ ์–ธํ•ฉ๋‹ˆ๋‹ค:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    **FastAPI**๋Š” ์š”์ฒญ์—์„œ ๋ฐ›์€ **ํ—ค๋”**์—์„œ **๊ฐ ํ•„๋“œ**์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ **์ถ”์ถœ**ํ•˜๊ณ  ์ •์˜ํ•œ Pydantic ๋ชจ๋ธ์„ ์ค๋‹ˆ๋‹ค.
    
    ## ๋ฌธ์„œ ํ™•์ธํ•˜๊ธฐ
    
    ๋ฌธ์„œ UI `/docs`์—์„œ ํ•„์š”ํ•œ ํ—ค๋”๋ฅผ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    <div class="screenshot">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:45:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    * Use that `security` with a dependency in your *path operation*.
    * It returns an object of type `HTTPBasicCredentials`:
        * It contains the `username` and `password` sent.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/cookie-param-models.md

    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/index.md

    ### `Depends` importieren
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Deklarieren der Abhรคngigkeit im <abbr title="Das Abhรคngige, der Verwender der Abhรคngigkeit">โ€žDependantโ€œ</abbr>
    
    So wie auch `Body`, `Query`, usw., verwenden Sie `Depends` mit den Parametern Ihrer *Pfadoperation-Funktion*:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/testing-events.md

    # ๐Ÿ”ฌ ๐ŸŽ‰: ๐Ÿ•ด - ๐Ÿคซ
    
    ๐Ÿ•โ” ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ‘† ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ (`startup` &amp; `shutdown`) ๐Ÿƒ ๐Ÿ‘† ๐Ÿ’ฏ, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `TestClient` โฎ๏ธ `with` ๐Ÿ“„:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 225 bytes
    - Viewed (0)
  10. docs/es/docs/advanced/testing-events.md

    # Testing Events: startup - shutdown
    
    Cuando necesitas que tus manejadores de eventos (`startup` y `shutdown`) se ejecuten en tus tests, puedes usar el `TestClient` con un statement `with`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 254 bytes
    - Viewed (0)
Back to top