- Sort Score
- Num 10 results
- Language All
Results 1221 - 1230 of 2,110 for py$ (0.05 seconds)
-
docs/en/docs/deployment/docker.md
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # (1)! COPY ./main.py /code/ # (2)! CMD ["fastapi", "run", "main.py", "--port", "80"] ``` 1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory). 2. Use `fastapi run` to serve your application in the single file `main.py`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 28.3K bytes - Click Count (1) -
docs/zh-hant/docs/advanced/strict-content-type.md
## 允許沒有 Content-Type 的請求 { #allowing-requests-without-content-type } 若你需要支援未送出 `Content-Type` 標頭的客戶端,可以將 `strict_content_type=False` 以停用嚴格檢查: {* ../../docs_src/strict_content_type/tutorial001_py310.py hl[4] *} 啟用此設定後,缺少 `Content-Type` 標頭的請求會將其主體解析為 JSON,這與舊版 FastAPI 的行為相同。 /// info | 資訊 此行為與設定新增於 FastAPI 0.132.0。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 3.1K bytes - Click Count (0) -
requirements_lock_3_14.txt
# # This file is autogenerated by pip-compile with Python 3.14 # by the following command: # # bazel run //ci/official/requirements_updater:requirements.update # absl-py==2.3.0 \ --hash=sha256:9824a48b654a306168f63e0d97714665f8490b8d89ec7bf2efc24bf67cf579b3 \ --hash=sha256:d96fda5c884f1b22178852f30ffa85766d50b99e00775ea626c23304f582fc4f # via # keras-nightly # tb-nightly astor==0.7.1 \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Apr 07 11:39:48 GMT 2026 - 73.6K bytes - Click Count (0) -
ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt
# # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # bazel run //ci/official/requirements_updater:requirements.update # absl-py==2.2.2 \ --hash=sha256:bf25b2c2eed013ca456918c453d687eab4e8309fba81ee2f4c1a6aa2494175eb \ --hash=sha256:e5797bc6abe45f64fd95dc06394ca3f2bedf3b5d895e9da691c9ee3397d70092 # via # keras-nightly # tb-nightly astor==0.7.1 \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 19:02:40 GMT 2026 - 66.1K bytes - Click Count (1) -
docs/zh-hant/docs/tutorial/cors.md
你也可以指定你的後端是否允許: * 憑證(credentials,例如 Authorization 標頭、Cookie 等)。 * 特定的 HTTP 方法(如 `POST`、`PUT`),或使用萬用字元 `"*"` 表示全部。 * 特定的 HTTP 標頭,或使用萬用字元 `"*"` 表示全部。 {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *} `CORSMiddleware` 的實作在預設參數上相當嚴格,因此你需要明確啟用特定的來源、方法或標頭,瀏覽器才會允許在跨網域情境中使用它們。 支援以下參數: * `allow_origins` - 允許進行跨來源請求的來源清單。例如 `['https://example.org', 'https://www.example.org']`。你可以使用 `['*']` 來允許任何來源。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5K bytes - Click Count (0) -
docs/en/docs/deployment/server-workers.md
```console $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u> <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting production server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/ja/docs/deployment/server-workers.md
```console $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u> <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting production server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/en/docs/contributing.md
</div> ### Docs Structure The documentation uses [MkDocs](https://www.mkdocs.org/). And there are extra tools/scripts in place to handle translations in `./scripts/docs.py`. /// tip You don't need to see the code in `./scripts/docs.py`, you just use it in the command line. /// All the documentation is in Markdown format in the directory `./docs/en/`. Many of the tutorials have blocks of code.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:59:26 GMT 2026 - 10.6K bytes - Click Count (0) -
requirements_lock_3_10.txt
# # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # bazel run //ci/official/requirements_updater:requirements.update # absl-py==2.2.2 \ --hash=sha256:bf25b2c2eed013ca456918c453d687eab4e8309fba81ee2f4c1a6aa2494175eb \ --hash=sha256:e5797bc6abe45f64fd95dc06394ca3f2bedf3b5d895e9da691c9ee3397d70092 # via # keras-nightly # tb-nightly astor==0.7.1 \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Apr 07 11:39:48 GMT 2026 - 69.3K bytes - Click Count (0) -
docs/zh/docs/deployment/server-workers.md
```console $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u> <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting production server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8K bytes - Click Count (0)