Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 495 for tip (0.02 sec)

  1. docs/en/docs/advanced/events.md

    And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU.
    
    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Maybe you need to start a new version, or you just got tired of running it. ๐Ÿคท
    
    ///
    
    ### Lifespan function
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/index.md

    # ๐Ÿง ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿฆฎ
    
    ## ๐ŸŒ– โš’
    
    ๐Ÿ‘‘ [๐Ÿ”ฐ - ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿฆฎ](../tutorial/index.md){.internal-link target=_blank} ๐Ÿ”œ ๐Ÿฅƒ ๐Ÿค ๐Ÿ‘† ๐ŸŽซ ๐Ÿ”˜ ๐ŸŒ ๐Ÿ‘‘ โš’ **FastAPI**.
    
    โญ ๐Ÿ“„ ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐ŸŽ ๐ŸŽ›, ๐Ÿ“ณ, & ๐ŸŒ– โš’.
    
    /// tip
    
    โญ ๐Ÿ“„ **๐Ÿšซ ๐ŸŽฏ "๐Ÿง"**.
    
     & โšซ๏ธ ๐Ÿ’ช ๐Ÿ‘ˆ ๐Ÿ‘† โš™๏ธ ๐Ÿ’ผ, โš— 1๏ธโƒฃ ๐Ÿ‘ซ.
    
    ///
    
    ## โœ ๐Ÿ”ฐ ๐Ÿฅ‡
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ† โš’ **FastAPI** โฎ๏ธ ๐Ÿ’ก โšช๏ธโžก๏ธ ๐Ÿ‘‘ [๐Ÿ”ฐ - ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿฆฎ](../tutorial/index.md){.internal-link target=_blank}.
    
    & โญ ๐Ÿ“„ ๐Ÿค” ๐Ÿ‘† โช โœ โšซ๏ธ, & ๐Ÿค” ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ‘‘ ๐Ÿ’ญ.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 926 bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/response-cookies.md

    Entรฃo, defina os cookies nela e a retorne:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Lembre-se de que se vocรช retornar uma resposta diretamente em vez de usar o parรขmetro `Response`, FastAPI a retornarรก diretamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/response-cookies.md

    Setzen Sie dann Cookies darin und geben Sie sie dann zurรผck:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Beachten Sie, dass, wenn Sie eine Response direkt zurรผckgeben, anstatt den `Response`-Parameter zu verwenden, FastAPI diese direkt zurรผckgibt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/metadata.md

    Sie kรถnnen diese wie folgt setzen:
    
    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Sie kรถnnen Markdown in das Feld `description` schreiben und es wird in der Ausgabe gerendert.
    
    ///
    
    Mit dieser Konfiguration wรผrde die automatische API-Dokumentation wie folgt aussehen:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/metadata.md

    ไฝ ๅฏไปฅๆŒ‰ๅฆ‚ไธ‹ๆ–นๅผ่ฎพ็ฝฎๅฎƒไปฌ๏ผš
    
    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    ๆ‚จๅฏไปฅๅœจ `description` ๅญ—ๆฎตไธญ็ผ–ๅ†™ Markdown๏ผŒๅฎƒๅฐ†ๅœจ่พ“ๅ‡บไธญๅ‘ˆ็Žฐใ€‚
    
    ///
    
    ้€š่ฟ‡่ฟ™ๆ ท่ฎพ็ฝฎ๏ผŒ่‡ชๅŠจ API ๆ–‡ๆกฃ็œ‹่ตทๆฅไผšๅƒ๏ผš
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## ๆ ‡็ญพๅ…ƒๆ•ฐๆฎ
    
    ### ๅˆ›ๅปบๆ ‡็ญพๅ…ƒๆ•ฐๆฎ
    
    ่ฎฉๆˆ‘ไปฌๅœจๅธฆๆœ‰ๆ ‡็ญพ็š„็คบไพ‹ไธญไธบ `users` ๅ’Œ `items` ่ฏ•ไธ€ไธ‹ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

    FastAPI wird dieses `response_model` nehmen, um die Daten zu dokumentieren, validieren, usw. und auch, um **die Ausgabedaten** entsprechend der Typdeklaration **zu konvertieren und filtern**.
    
    /// tip | "Tipp"
    
    Wenn Sie in Ihrem Editor strikte Typchecks haben, mypy, usw., kรถnnen Sie den Funktions-Rรผckgabetyp als <abbr title='โ€žIrgend etwasโ€œ'>`Any`</abbr> deklarieren.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/index.md

    # ์‹ฌํ™” ์‚ฌ์šฉ์ž ์•ˆ๋‚ด์„œ - ๋„์ž…๋ถ€
    
    ## ์ถ”๊ฐ€ ๊ธฐ๋Šฅ
    
    ๋ฉ”์ธ [์ž์Šต์„œ - ์‚ฌ์šฉ์ž ์•ˆ๋‚ด์„œ](../tutorial/index.md){.internal-link target=_blank}๋Š” ์—ฌ๋Ÿฌ๋ถ„์ด **FastAPI**์˜ ๋ชจ๋“  ์ฃผ์š” ๊ธฐ๋Šฅ์„ ๋‘˜๋Ÿฌ๋ณด์‹œ๊ธฐ์— ์ถฉ๋ถ„ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ์ด์–ด์ง€๋Š” ์žฅ์—์„œ๋Š” ์—ฌ๋Ÿฌ๋ถ„์ด ๋‹ค๋ฅธ ์˜ต์…˜, ๊ตฌ์„ฑ ๋ฐ ์ถ”๊ฐ€ ๊ธฐ๋Šฅ์„ ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    /// tip | "ํŒ"
    
    ๋‹ค์Œ ์žฅ๋“ค์ด **๋ฐ˜๋“œ์‹œ "์‹ฌํ™”"**์ธ ๊ฒƒ์€ ์•„๋‹™๋‹ˆ๋‹ค.
    
    ๊ทธ๋ฆฌ๊ณ  ์—ฌ๋Ÿฌ๋ถ„์˜ ์‚ฌ์šฉ ์‚ฌ๋ก€์— ๋Œ€ํ•œ ํ•ด๊ฒฐ์ฑ…์ด ๊ทธ์ค‘ ํ•˜๋‚˜์— ์žˆ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ///
    
    ## ์ž์Šต์„œ๋ฅผ ๋จผ์ € ์ฝ์œผ์‹ญ์‹œ์˜ค
    
    ์—ฌ๋Ÿฌ๋ถ„์€ ๋ฉ”์ธ [์ž์Šต์„œ - ์‚ฌ์šฉ์ž ์•ˆ๋‚ด์„œ](../tutorial/index.md){.internal-link target=_blank}์˜ ์ง€์‹์œผ๋กœ **FastAPI**์˜ ๋Œ€๋ถ€๋ถ„์˜ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/request-forms.md

    โฎ๏ธ `Form` ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐ŸŽ ๐Ÿ“ณ โฎ๏ธ `Body` (&amp; `Query`, `Path`, `Cookie`), ๐Ÿ”Œ ๐Ÿ”ฌ, ๐Ÿ–ผ, ๐Ÿ“› (โœ… `user-name` โ†ฉ๏ธ `username`), โ™’๏ธ.
    
    /// info
    
    `Form` ๐ŸŽ“ ๐Ÿ‘ˆ ๐Ÿ˜– ๐Ÿ”— โšช๏ธโžก๏ธ `Body`.
    
    ///
    
    /// tip
    
    ๐Ÿ“ฃ ๐Ÿ“จ ๐Ÿ’ช, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `Form` ๐ŸŽฏ, โ†ฉ๏ธ ๐Ÿต โšซ๏ธ ๐Ÿ”ข ๐Ÿ”œ ๐Ÿ”ฌ ๐Ÿ”ข ๐Ÿ”ข โš–๏ธ ๐Ÿ’ช (๐ŸŽป) ๐Ÿ”ข.
    
    ///
    
    ## ๐Ÿ”ƒ "๐Ÿ“จ ๐Ÿ‘"
    
    ๐ŸŒŒ ๐Ÿ•ธ ๐Ÿ“จ (`<form></form>`) ๐Ÿ“จ ๐Ÿ’ฝ ๐Ÿ’ฝ ๐Ÿ›Ž โš™๏ธ "๐ŸŽ" ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ“Š, โšซ๏ธ ๐ŸŽ โšช๏ธโžก๏ธ ๐ŸŽป.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/response-cookies.md

    ๐Ÿ‘ˆ, ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿ“จ ๐Ÿ”ฌ [๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”—](response-directly.md){.internal-link target=_blank}.
    
    โคด๏ธ โš’ ๐Ÿช โšซ๏ธ, &amp; โคด๏ธ ๐Ÿ“จ โšซ๏ธ:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip
    
    โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”— โ†ฉ๏ธ โš™๏ธ `Response` ๐Ÿ”ข, FastAPI ๐Ÿ”œ ๐Ÿ“จ โšซ๏ธ ๐Ÿ”—.
    
    , ๐Ÿ‘† ๐Ÿ”œ โœ”๏ธ โš’ ๐Ÿ’ญ ๐Ÿ‘† ๐Ÿ’ฝ โ˜‘ ๐Ÿ†Ž. ๐Ÿคถ โ“‚. โšซ๏ธ ๐Ÿ”— โฎ๏ธ ๐ŸŽป, ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ›ฌ `JSONResponse`.
    
     &amp; ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿšซ ๐Ÿ“จ ๐Ÿ™† ๐Ÿ“Š ๐Ÿ‘ˆ ๐Ÿ”œ โœ”๏ธ โ›ฝ `response_model`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top