- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 1,989 for py$ (0.02 sec)
-
docs/em/docs/advanced/events.md
```Python hl_lines="14-19" {!../../docs_src/events/tutorial003.py!} ``` ๐ฅ ๐ ๐ข, โญ `yield`, ๐ ๐ ๏ธ **โญ** ๐ธ โถ๏ธ. & ๐ โฎ๏ธ `yield` ๐ ๐ ๏ธ **โฎ๏ธ** ๐ธ โ๏ธ ๐. ### ๐ ๐ ๐จโ๐ผ ๐ฅ ๐ โ , ๐ข ๐ โฎ๏ธ `@asynccontextmanager`. ๐ ๐ ๐ข ๐ ๐ณ ๐ค "**๐ ๐ ๐จโ๐ผ**". ```Python hl_lines="1 13" {!../../docs_src/events/tutorial003.py!} ``` **๐ ๐จโ๐ผ** ๐ ๐ณ ๐ ๐ ๐ช โ๏ธ `with` ๐, ๐ผ, `open()` ๐ช โ๏ธ ๐ ๐จโ๐ผ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/em/docs/tutorial/response-status-code.md
/// ## โจ ๐ญ ๐ โก๏ธ ๐ โฎ๏ธ ๐ผ ๐: ```Python hl_lines="6" {!../../docs_src/response_status_code/tutorial001.py!} ``` `201` ๐ ๐ "โ". โ๏ธ ๐ ๐ซ โ๏ธ โ โซ๏ธโ ๐ ๐ ๐ โ. ๐ ๐ช โ๏ธ ๐ช ๐ข โช๏ธโก๏ธ `fastapi.status`. ```Python hl_lines="1 6" {!../../docs_src/response_status_code/tutorial002.py!} ``` ๐ซ ๐ช, ๐ซ ๐งโ๐คโ๐ง ๐ ๐ข, โ๏ธ ๐ ๐ ๐ ๐ช โ๏ธ ๐จโ๐จ ๐ ๐ ๐ซ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/background-tasks.md
ใพใใๆธใ่พผใฟๆไฝใงใฏ `async` ใจ `await` ใไฝฟ็จใใชใใใใ้ๅธธใฎ `def` ใง้ขๆฐใๅฎ็พฉใใพใใ ```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## ใใใฏใฐใฉใฆใณใใฟในใฏใฎ่ฟฝๅ *path operations ้ขๆฐ* ๅ ใงใ`.add_task()` ใกใฝใใใไฝฟ็จใใฆใฟในใฏ้ขๆฐใ *background tasks* ใชใใธใงใฏใใซๆธกใใพใใ ```Python hl_lines="14" {!../../docs_src/background_tasks/tutorial001.py!} ``` `.add_task()` ใฏไปฅไธใฎๅผๆฐใๅใๅใใพใ: * ใใใฏใฐใฉใฆใณใใงๅฎ่กใใใใฟในใฏ้ขๆฐ (`write_notification`)ใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
docs/em/docs/advanced/behind-a-proxy.md
/// ### โ โฎ๏ธ `root_path` ๐ ๐ช ๐ค โฎ๏ธ `root_path` โ๏ธ ๐ ๐ธ ๐ ๐จ, โซ๏ธ ๐ `scope` ๐ (๐ ๐ ๐ซ ๐). ๐ฅ ๐ฅ โ โซ๏ธ ๐ง ๐ฆ ๐ฏ. ```Python hl_lines="8" {!../../docs_src/behind_a_proxy/tutorial001.py!} ``` โคด๏ธ, ๐ฅ ๐ โถ๏ธ Uvicorn โฎ๏ธ: <div class="termy"> ```console $ uvicorn main:app --root-path /api/v1
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/em/docs/advanced/security/http-basic-auth.md
* โ "`security` โ" โ๏ธ `HTTPBasic`. * โ๏ธ ๐ `security` โฎ๏ธ ๐ ๐ *โก ๐ ๏ธ*. * โซ๏ธ ๐จ ๐ ๐ `HTTPBasicCredentials`: * โซ๏ธ ๐ `username` & `password` ๐จ. ```Python hl_lines="2 6 10" {!../../docs_src/security/tutorial006.py!} ``` ๐โ ๐ ๐ ๐ ๐ ๐ฅ ๐ฐ (โ๏ธ ๐ "๐ ๏ธ" ๐ผ ๐ฉบ) ๐ฅ ๐ ๐ญ ๐ ๐ ๐ & ๐: <img src="/img/tutorial/security/image12.png"> ## โ ๐ ๐ฅ ๐ ๐ ๐ผ. โ๏ธ ๐ โ ๐ฅ ๐ & ๐ โ.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/pt/docs/advanced/middleware.md
{* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *} ## `TrustedHostMiddleware` Garante que todas as requisiรงรตes recebidas tenham um cabeรงalho `Host` corretamente configurado, a fim de proteger contra ataques de cabeรงalho de host HTTP. {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *} Os seguintes argumentos sรฃo suportados:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 20:00:22 UTC 2024 - 4.3K bytes - Viewed (0) -
BUILD
exports_files(glob(["requirements*"]) + [ "configure", "configure.py", "ACKNOWLEDGEMENTS", "LICENSE",
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Jun 29 00:19:18 UTC 2024 - 121 bytes - Viewed (0) -
docs/em/docs/deployment/docker.md
``` </div> /// info ๐ค ๐ ๐ & ๐งฐ ๐ฌ & โ ๐ฆ ๐. ๐ค ๐ ๐ฆ ๐ ๐ผ โ๏ธ ๐ถ โช ๐ ๐. ๐ถ /// ### โ **FastAPI** ๐ * โ `app` ๐ & โ โซ๏ธ. * โ ๐ ๐ `__init__.py`. * โ `main.py` ๐ โฎ๏ธ: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 27.9K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-directly.md
Para esses casos, vocรช pode usar o `jsonable_encoder` para converter seus dados antes de repassรก-los para a resposta: ```Python hl_lines="6-7 21-22" {!../../docs_src/response_directly/tutorial001.py!} ``` /// note | Detalhes Tรฉcnicos Vocรช tambรฉm pode utilizar `from starlette.responses import JSONResponse`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)