Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 529 for tip (0.01 sec)

  1. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    ๐ŸŽ ๐Ÿ–ผ ๐Ÿ”œ โคด๏ธ ๐Ÿ‘€ ๐Ÿ’–:
    
    {* ../../docs_src/dependencies/tutorial004.py hl[19] *}
    
    ...& **FastAPI** ๐Ÿ”œ ๐Ÿ’ญ โšซ๏ธโ”.
    
    /// tip
    
    ๐Ÿšฅ ๐Ÿ‘ˆ ๐Ÿ˜‘ ๐ŸŒ… ๐Ÿ˜จ ๐ŸŒ˜ ๐Ÿ‘, ๐Ÿคทโ€โ™‚ โšซ๏ธ, ๐Ÿ‘† ๐Ÿšซ *๐Ÿ’ช* โšซ๏ธ.
    
    โšซ๏ธ โŒจ. โ†ฉ๏ธ **FastAPI** ๐Ÿ’… ๐Ÿ”ƒ ๐Ÿค ๐Ÿ‘† ๐Ÿ“‰ ๐Ÿ“Ÿ ๐Ÿ”.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/get-current-user.md

    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    /// tip
    
    You might remember that request bodies are also declared with Pydantic models.
    
    Here **FastAPI** won't get confused because you are using `Depends`.
    
    ///
    
    /// check
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/response-directly.md

    ๊ทธ๋Ÿฌ๋‚˜ *๊ฒฝ๋กœ ์ž‘์—…*์—์„œ `JSONResponse`๋ฅผ ์ง์ ‘ ๋ฐ˜ํ™˜ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ์˜ˆ๋ฅผ ๋“ค์–ด, ์‚ฌ์šฉ์ž ์ •์˜ ํ—ค๋”๋‚˜ ์ฟ ํ‚ค๋ฅผ ๋ฐ˜ํ™˜ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ์— ์œ ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## `Response` ๋ฐ˜ํ™˜ํ•˜๊ธฐ
    
    ์‚ฌ์‹ค, `Response` ๋˜๋Š” ๊ทธ ํ•˜์œ„ ํด๋ž˜์Šค๋ฅผ ๋ฐ˜ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    /// tip
    
    `JSONResponse` ์ž์ฒด๋„ `Response`์˜ ํ•˜์œ„ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค.
    
    ///
    
    ๊ทธ๋ฆฌ๊ณ  `Response`๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋ฉด **FastAPI**๊ฐ€ ์ด๋ฅผ ๊ทธ๋Œ€๋กœ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค.
    
    Pydantic ๋ชจ๋ธ๋กœ ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜์„ ์ˆ˜ํ–‰ํ•˜์ง€ ์•Š์œผ๋ฉฐ, ๋‚ด์šฉ์„ ๋‹ค๋ฅธ ํ˜•์‹์œผ๋กœ ๋ณ€ํ™˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. docs/ko/docs/advanced/templates.md

    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | ์ฐธ๊ณ 
    
    FastAPI 0.108.0 ์ด์ „๊ณผ Starlette 0.29.0์—์„œ๋Š” `name`์ด ์ฒซ ๋ฒˆ์งธ ๋งค๊ฐœ๋ณ€์ˆ˜์˜€์Šต๋‹ˆ๋‹ค.
    
    ๋˜ํ•œ ์ด์ „ ๋ฒ„์ „์—์„œ๋Š” `request` ๊ฐ์ฒด๊ฐ€ Jinja2์˜ ์ปจํ…์ŠคํŠธ์—์„œ ํ‚ค-๊ฐ’ ์Œ์˜ ์ผ๋ถ€๋กœ ์ „๋‹ฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
    
    ///
    
    /// tip | ํŒ
    
    `response_class=HTMLResponse`๋ฅผ ์„ ์–ธํ•˜๋ฉด ๋ฌธ์„œ UI ์‘๋‹ต์ด HTML์ž„์„ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ///
    
    /// note | ๊ธฐ์ˆ  ์„ธ๋ถ€ ์‚ฌํ•ญ
    `from starlette.templating import Jinja2Templates`๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:07:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/get-current-user.md

    A...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 13:33:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial001.py hl[15:23] *}
    
    ๐Ÿ‘ˆ โž• โ„น ๐Ÿ”œ ๐Ÿšฎ-๐Ÿ”ข **๐ŸŽป ๐Ÿ”—** ๐Ÿ‘ˆ ๐Ÿท, & โšซ๏ธ ๐Ÿ”œ โš™๏ธ ๐Ÿ› ๏ธ ๐Ÿฉบ.
    
    /// tip
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŽ โš’ โ†” ๐ŸŽป ๐Ÿ”— & ๐Ÿšฎ ๐Ÿ‘† ๐Ÿ‘ ๐Ÿ›ƒ โž• โ„น.
    
    ๐Ÿ–ผ ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ โšซ๏ธ ๐Ÿšฎ ๐Ÿ—ƒ ๐Ÿ•ธ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”ข, โ™’๏ธ.
    
    ///
    
    ## `Field` ๐ŸŒ– โŒ
    
    ๐Ÿ•โ” โš™๏ธ `Field()` โฎ๏ธ Pydantic ๐Ÿท, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ โž• โ„น **๐ŸŽป ๐Ÿ”—** ๐Ÿšถโ€โ™€๏ธ ๐Ÿ™† ๐ŸŽ โŒ โŒ ๐Ÿ”ข.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/index.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-updates.md

    * Salvar os dados no seu banco de dados.
    * Retornar o modelo atualizado.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip | Dica
    
    Vocรช pode realmente usar essa mesma tรฉcnica com uma operaรงรฃo HTTP `PUT`.
    
    Mas o exemplo aqui usa `PATCH` porque foi criado para esses casos de uso.
    
    ///
    
    /// note | Nota
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params.md

    In this case, there are 3 query parameters:
    
    * `needy`, a required `str`.
    * `skip`, an `int` with a default value of `0`.
    * `limit`, an optional `int`.
    
    /// tip
    
    You could also use `Enum`s the same way as with [Path Parameters](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-files.md

    /// info
    
    `File` is a class that inherits directly from `Form`.
    
    But remember that when you import `Query`, `Path`, `File` and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// tip
    
    To declare File bodies, you need to use `File`, because otherwise the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    ///
    
    The files will be uploaded as "form data".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top