- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 873 for Python (0.2 sec)
-
docs/em/docs/advanced/advanced-dependencies.md
๐ซ ๐ โซ๏ธ (โ โช ๐ง๐ฒ), โ๏ธ ๐ ๐ ๐. ๐, ๐ฅ ๐ฃ ๐ฉโ๐ฌ `__call__`: ```Python hl_lines="10" {!../../docs_src/dependencies/tutorial011.py!} ``` ๐ ๐ผ, ๐ `__call__` โซ๏ธโ **FastAPI** ๐ โ๏ธ โ ๐ ๐ข & ๐ง-๐, & ๐ โซ๏ธโ ๐ ๐ค ๐ถโโ๏ธ ๐ฒ ๐ข ๐ *โก ๐ ๏ธ ๐ข* โช. ## ๐ ๐ & ๐, ๐ฅ ๐ช โ๏ธ `__init__` ๐ฃ ๐ข ๐ ๐ ๐ฅ ๐ช โ๏ธ "๐" ๐: ```Python hl_lines="7" {!../../docs_src/dependencies/tutorial011.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2K bytes - Viewed (0) -
docs/em/docs/tutorial/cookie-params.md
# ๐ช ๐ข ๐ ๐ช ๐ฌ ๐ช ๐ข ๐ ๐ ๐ ๐ฌ `Query` & `Path` ๐ข. ## ๐ `Cookie` ๐ฅ ๐ `Cookie`: //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="3" {!> ../../docs_src/cookie_params/tutorial001.py!} ``` //// //// tab | ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐ ```Python hl_lines="1" {!> ../../docs_src/cookie_params/tutorial001_py310.py!} ``` //// ## ๐ฃ `Cookie` ๐ข โคด๏ธ ๐ฃ ๐ช ๐ข โ๏ธ ๐ ๐ โฎ๏ธ `Path` & `Query`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
### โ ๐, โ๏ธ "โ" โก๏ธ ๐ฅ ๐ฏ ๐ ๐. โซ๏ธ ๐ข ๐ ๐ช โ ๐ ๐ ๐ข ๐ *โก ๐ ๏ธ ๐ข* ๐ช โ: //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="8-11" {!> ../../docs_src/dependencies/tutorial001.py!} ``` //// //// tab | ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐ ```Python hl_lines="6-7" {!> ../../docs_src/dependencies/tutorial001_py310.py!} ``` //// ๐ โซ๏ธ. **2๏ธโฃ โธ**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/fr/docs/alternatives.md
> Requests est l'un des packages Python les plus tรฉlรฉchargรฉs de tous les temps La faรงon dont vous l'utilisez est trรจs simple. Par exemple, pour faire une requรชte `GET`, vous devez รฉcrire : ```Python response = requests.get("http://example.com/some/url") ``` En contrepartie l'API _des opรฉrations de chemin_ de FastAPI pourrait ressembler ร ceci : ```Python hl_lines="1" @app.get("/some/url") def read_url():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 27.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
* **ํจ์**: ๋ "๋ฐ์ฝ๋ ์ดํฐ" ์๋์ ์๋ ํจ์์ ๋๋ค (`@app.get("/")` ์๋). ```Python hl_lines="7" {!../../docs_src/first_steps/tutorial001.py!} ``` ์ด๊ฒ์ ํ์ด์ฌ ํจ์์ ๋๋ค. URL "`/`"์ ๋ํ `GET` ์๋์ ์ฌ์ฉํ๋ ์์ฒญ์ ๋ฐ์ ๋๋ง๋ค **FastAPI**์ ์ํด ํธ์ถ๋ฉ๋๋ค. ์์ ์์์์ ์ด ํจ์๋ `async`(๋น๋๊ธฐ) ํจ์์ ๋๋ค. --- `async def`์ ์ด์ฉํ๋ ๋์ ์ผ๋ฐ ํจ์๋ก ์ ์ํ ์ ์์ต๋๋ค: ```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
And they send a request with a username `johndoe` and a password `love123`. Then the Python code in your application would be equivalent to something like: ```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:01:27 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-request-and-route.md
Tudo que precisamos fazer รฉ manipular a requisiรงรฃo dentro de um bloco `try`/`except`: ```Python hl_lines="13 15" {!../../docs_src/custom_request_and_route/tutorial002.py!} ``` Se uma exceรงรฃo ocorrer, a instรขncia `Request` ainda estarรก em escopo, entรฃo podemos ler e fazer uso do corpo da requisiรงรฃo ao lidar com o erro: ```Python hl_lines="16-18" {!../../docs_src/custom_request_and_route/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:00 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
/// ## ๐ โ & ๐จ ๐ฒ ๐ ๐ช โ๏ธ ๐ ๐ *๐ข* ๐ โ๏ธ ๐. ### ๐ ๐ ๐ซ ๐ช ๐ฃ ๐จ ๐ (๐ ๐) โ๏ธ ๐ ๐ง-๐: ```Python hl_lines="6 11" {!../../docs_src/dependencies/tutorial006.py!} ``` ### ๐ค โ ๐ซ ๐ ๐ช `raise` โ , ๐ ๐ ๐: ```Python hl_lines="8 13" {!../../docs_src/dependencies/tutorial006.py!} ``` ### ๐จ ๐ฒ & ๐ซ ๐ช ๐จ ๐ฒ โ๏ธ ๐ซ, ๐ฒ ๐ ๐ซ โ๏ธ.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
## ๐ผ ๐ฅ ๐ผ *โก ๐ ๏ธ* โฎ๏ธ ๐ข โ๏ธ ๐ ๐. //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="1 3 12-16" {!> ../../docs_src/extra_data_types/tutorial001.py!} ``` //// //// tab | ๐ 3๏ธโฃ.1๏ธโฃ0๏ธโฃ & ๐ ```Python hl_lines="1 2 11-15" {!> ../../docs_src/extra_data_types/tutorial001_py310.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/zh/docs/deployment/server-workers.md
``` </div> ่ฎฉๆไปฌ็็ๆฏไธช้้กน็ๅซไน๏ผ * `main:app`๏ผ่ฟไธ Uvicorn ไฝฟ็จ็่ฏญๆณ็ธๅ๏ผ`main` ่กจ็คบๅไธบ"`main`"็ Python ๆจกๅ๏ผๅ ๆญคๆฏๆไปถ `main.py`ใ `app` ๆฏ **FastAPI** ๅบ็จ็จๅบ็ๅ้ๅ็งฐใ * ไฝ ๅฏไปฅๆณ่ฑก `main:app` ็ธๅฝไบไธไธช Python `import` ่ฏญๅฅ๏ผไพๅฆ๏ผ ```Python from main import app ``` * ๅ ๆญค๏ผ`main:app` ไธญ็ๅๅท็ธๅฝไบ `from main import app` ไธญ็ Python `import` ้จๅใ * `--workers`๏ผ่ฆไฝฟ็จ็worker่ฟ็จๆฐ้๏ผๆฏไธช่ฟ็จๅฐ่ฟ่กไธไธช Uvicorn worker่ฟ็จ๏ผๅจๆฌไพไธญไธบ 4 ไธชworker่ฟ็จใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.7K bytes - Viewed (0)