- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 630 for hl (0.02 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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"> ```consoleRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0) -
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) -
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) -
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)