- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 681 for Python3 (0.11 sec)
-
docs/en/docs/tutorial/middleware.md
{* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *} /// tip Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. ๐ค ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/ko/docs/advanced/templates.md
* ๋์ค์ ์ฌ์ฌ์ฉํ ์ ์๋ `templates` ๊ฐ์ฒด๋ฅผ ์์ฑํฉ๋๋ค. * ํ ํ๋ฆฟ์ ๋ฐํํ ๊ฒฝ๋ก ์์ ์ `Request` ๋งค๊ฐ๋ณ์๋ฅผ ์ ์ธํฉ๋๋ค. * ์์ฑํ `templates`๋ฅผ ์ฌ์ฉํ์ฌ `TemplateResponse`๋ฅผ ๋ ๋๋งํ๊ณ ๋ฐํํฉ๋๋ค. ํ ํ๋ฆฟ์ ์ด๋ฆ, ์์ฒญ ๊ฐ์ฒด ๋ฐ Jinja2 ํ ํ๋ฆฟ ๋ด์์ ์ฌ์ฉ๋ ํค-๊ฐ ์์ด ํฌํจ๋ "์ปจํ ์คํธ" ๋์ ๋๋ฆฌ๋ ์ ๋ฌํฉ๋๋ค. ```Python hl_lines="4 11 15-18" {!../../docs_src/templates/tutorial001.py!} ``` /// note | ์ฐธ๊ณ FastAPI 0.108.0 ์ด์ ๊ณผ Starlette 0.29.0์์๋ `name`์ด ์ฒซ ๋ฒ์งธ ๋งค๊ฐ๋ณ์์์ต๋๋ค. ๋ํ ์ด์ ๋ฒ์ ์์๋ `request` ๊ฐ์ฒด๊ฐ Jinja2์ ์ปจํ ์คํธ์์ ํค-๊ฐ ์์ ์ผ๋ถ๋ก ์ ๋ฌ๋์์ต๋๋ค.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 09 13:07:23 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/ko/docs/advanced/middlewares.md
๋ฐ๋ผ์ ํ์ฌ ASGI ๋ฏธ๋ค์จ์ด ๋ฌธ์์์ ์ผ๋ฐ์ ์ผ๋ก ๋ค์๊ณผ ๊ฐ์ด ์ฌ์ฉํ๋๋ก ์๋ดํ ๊ฒ์ ๋๋ค. ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` ํ์ง๋ง ๋ด๋ถ ๋ฏธ๋ค์จ์ด๊ฐ ์๋ฒ ์ค๋ฅ๋ฅผ ์ฒ๋ฆฌํ๊ณ ์ฌ์ฉ์ ์ ์ ์์ธ ์ฒ๋ฆฌ๊ธฐ๊ฐ ์ ๋๋ก ์๋ํ๋๋ก ํ๋ ๋ ๊ฐ๋จํ ๋ฐฉ๋ฒ์ ์ ๊ณตํ๋ FastAPI(์ค์ ๋ก๋ Starlette)๊ฐ ์์ต๋๋ค. ์ด๋ฅผ ์ํด `app.add_middleware()`๋ฅผ ์ฌ์ฉํฉ๋๋ค(CORS์ ์์์์ ๊ฐ์ด). ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:35:09 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/pt/docs/fastapi-cli.md
<font color="#3465A4">INFO </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> โญโ <font color="#8AE234"><b>Python module file</b></font> โโฎ โ โ โ ๐ main.py โ โ โ โฐโโโโโโโโโโโโโโโโโโโโโโโฏ <font color="#3465A4">INFO </font> Importing module <font color="#4E9A06">main</font>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.4K bytes - Viewed (0) -
ci/official/requirements_updater/requirements.in
# Note that numpy 2.1.0 does not support python 3.9 numpy >= 2.0.0, < 2.2.0 wheel ~= 0.41.2 h5py >= 3.11.0 lit ~= 17.0.2 opt_einsum == 3.3.0 astunparse == 1.6.3 dill == 0.3.7 astor == 0.7.1 typing_extensions ~= 4.14.1 gast == 0.4.0 termcolor == 2.3.0 wrapt == 1.16.0 tblib == 2.0.0 ml_dtypes >= 0.5.1, < 0.6.0 auditwheel >= 6.1.0 # Install tensorboard, and keras
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Sep 03 23:57:17 UTC 2025 - 1.2K bytes - Viewed (0) -
docs/en/docs/reference/templating.md
Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 365 bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
The actual callback code will depend heavily on your own API app. And it will probably vary a lot from one app to the next. It could be just one or two lines of code, like: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/pt/docs/advanced/openapi-callbacks.md
O cรณdigo real do callback dependerรก muito do seu prรณprio aplicativo de API. E provavelmente variarรก muito de um aplicativo para o outro. Poderia ser apenas uma ou duas linhas de cรณdigo, como: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> /// note | Not `uvicorn main:app` komutunu ลu ลekilde aรงฤฑklayabiliriz: * `main`: dosya olan `main.py` (yani Python "modรผlรผ"). * `app`: ise `main.py` dosyasฤฑnฤฑn iรงerisinde `app = FastAPI()` satฤฑrฤฑnda oluลturduฤumuz `FastAPI` nesnesi.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/en/docs/reference/uploadfile.md
# `UploadFile` class You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request. You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - read
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 472 bytes - Viewed (0)