Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 630 for hl (0.02 sec)

  1. docs/em/docs/tutorial/static-files.md

    # ๐ŸŽป ๐Ÿ“
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿฆ ๐ŸŽป ๐Ÿ“ ๐Ÿ” โšช๏ธโžก๏ธ ๐Ÿ“ โš™๏ธ `StaticFiles`.
    
    ## โš™๏ธ `StaticFiles`
    
    * ๐Ÿ—„ `StaticFiles`.
    * "๐Ÿ—ป" `StaticFiles()` ๐Ÿ‘ ๐ŸŽฏ โžก.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | ๐Ÿ“ก โ„น
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** ๐Ÿšš ๐ŸŽ `starlette.staticfiles` `fastapi.staticfiles` ๐Ÿช ๐Ÿ‘†, ๐Ÿ‘ฉโ€๐Ÿ’ป. โœ‹๏ธ โšซ๏ธ ๐Ÿค™ ๐Ÿ‘Ÿ ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ’ƒ.
    
    ///
    
    ### โšซ๏ธโ” "๐Ÿ—œ"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/testing.md

    Escribe declaraciones `assert` simples con las expresiones estรกndar de Python que necesites revisar (otra vez, estรกndar de `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | Consejo
    
    Nota que las funciones de prueba son `def` normales, no `async def`.
    
    Y las llamadas al cliente tambiรฉn son llamadas normales, sin usar `await`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/testing-dependencies.md

    ๐Ÿ” ๐Ÿ”— ๐Ÿ”ฌ, ๐Ÿ‘† ๐Ÿšฎ ๐Ÿ”‘ โฎ๏ธ ๐Ÿ”— (๐Ÿ”ข), & ๐Ÿ’ฒ, ๐Ÿ‘† ๐Ÿ”— ๐Ÿ” (โž•1๏ธโƒฃ ๐Ÿ”ข).
    
    & โคด๏ธ **FastAPI** ๐Ÿ”œ ๐Ÿค™ ๐Ÿ‘ˆ ๐Ÿ” โ†ฉ๏ธ โฎ๏ธ ๐Ÿ”—.
    
    {* ../../docs_src/dependency_testing/tutorial001.py hl[28:29,32] *}
    
    /// tip
    
    ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ”— ๐Ÿ” ๐Ÿ”— โš™๏ธ ๐Ÿ™† ๐Ÿ‘† **FastAPI** ๐Ÿˆธ.
    
    โฎ๏ธ ๐Ÿ”— ๐Ÿ’ช โš™๏ธ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ* (๐Ÿ•โ” ๐Ÿ‘† ๐Ÿšซ โš™๏ธ ๐Ÿ“จ ๐Ÿ’ฒ), `.include_router()` ๐Ÿค™, โ™’๏ธ.
    
    FastAPI ๐Ÿ”œ ๐Ÿ’ช ๐Ÿ” โšซ๏ธ.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/encoder.md

    Puedes usar `jsonable_encoder` para eso.
    
    Recibe un objeto, como un modelo de Pydantic, y devuelve una versiรณn compatible con JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    En este ejemplo, convertirรญa el modelo de Pydantic a un `dict`, y el `datetime` a un `str`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/security/oauth2-jwt.md

    ์ƒˆ ์•ก์„ธ์Šค ํ† ํฐ์„ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•œ ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,79:87] *}
    
    ## ์˜์กด์„ฑ ์ˆ˜์ •
    
    `get_current_user` ํ•จ์ˆ˜๋ฅผ ์ด์ „๊ณผ ๋™์ผํ•œ ํ† ํฐ์„ ๋ฐ›๋„๋ก ์ˆ˜์ •ํ•˜๋˜, ์ด๋ฒˆ์—๋Š” JWT ํ† ํฐ์„ ์‚ฌ์šฉํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.
    
    ๋ฐ›์€ ํ† ํฐ์„ ๋””์ฝ”๋”ฉํ•˜์—ฌ ๊ฒ€์ฆํ•œ ํ›„ ํ˜„์žฌ ์‚ฌ์šฉ์ž๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
    
    ํ† ํฐ์ด ์œ ํšจํ•˜์ง€ ์•Š๋‹ค๋ฉด HTTP ์˜ค๋ฅ˜๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## `/token` ๊ฒฝ๋กœ ์ž‘์—… ์ˆ˜์ •
    
    ํ† ํฐ์˜ ๋งŒ๋ฃŒ ์‹œ๊ฐ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•ด `timedelta` ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/encoder.md

    ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ์ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋Š” Pydantic ๋ชจ๋ธ(์†์„ฑ์ด ์žˆ๋Š” ๊ฐ์ฒด)์„ ๋ฐ›์ง€ ์•Š๊ณ , `dict` ๋งŒ์„ ๋ฐ›์Šต๋‹ˆ๋‹ค.
    
    ์ด๋ฅผ ์œ„ํ•ด `jsonable_encoder` ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Pydantic ๋ชจ๋ธ๊ณผ ๊ฐ™์€ ๊ฐ์ฒด๋ฅผ ๋ฐ›๊ณ  JSON ํ˜ธํ™˜ ๊ฐ€๋Šฅํ•œ ๋ฒ„์ „์œผ๋กœ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค:
    
    {* ../../docs_src/encoder/tutorial001.py hl[5,22] *}
    
    ์ด ์˜ˆ์‹œ๋Š” Pydantic ๋ชจ๋ธ์„ `dict`๋กœ, `datetime` ํ˜•์‹์„ `str`๋กœ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
    
    ์ด๋ ‡๊ฒŒ ํ˜ธ์ถœํ•œ ๊ฒฐ๊ณผ๋Š” ํŒŒ์ด์ฌ ํ‘œ์ค€์ธ <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>๋กœ ์ธ์ฝ”๋”ฉ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/debugging.md

    Vocรช pode conectar o depurador no seu editor, por exemplo, com o Visual Studio Code ou PyCharm.
    
    ## Chamar `uvicorn`
    
    Em seu aplicativo FastAPI, importe e execute `uvicorn` diretamente:
    
    {* ../../docs_src/debugging/tutorial001.py hl[1,15] *}
    
    ### Sobre `__name__ == "__main__"`
    
    O objetivo principal de `__name__ == "__main__"` รฉ ter algum cรณdigo que seja executado quando seu arquivo for chamado com:
    
    <div class="termy">
    
    ```console
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/testing.md

    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. docs/es/docs/how-to/graphql.md

    Aquรญ tienes una pequeรฑa vista previa de cรณmo podrรญas integrar Strawberry con FastAPI:
    
    {* ../../docs_src/graphql/tutorial001.py hl[3,22,25:26] *}
    
    Puedes aprender mรกs sobre Strawberry en la <a href="https://strawberry.rocks/" class="external-link" target="_blank">documentaciรณn de Strawberry</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/graphql.md

    Here's a small preview of how you could integrate Strawberry with FastAPI:
    
    {* ../../docs_src/graphql/tutorial001.py hl[3,22,25] *}
    
    You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top