- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,062 for python (0.04 seconds)
-
ci/official/containers/ml_build/builder.requirements.txt
# For wheel verification, and uploading auditwheel ~= 6.1.0 twine ~= 6.1.0 id urllib3 requests # For XLA pyyaml # For JAX build ~= 1.2.2 # uv is faster than pip for installing Python packages. uv ~= 0.5.30 # For running wheel verification script
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 30 20:25:44 GMT 2025 - 271 bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
## コンテキストマネージャ { #context-managers } ### 「コンテキストマネージャ」とは { #what-are-context-managers } 「コンテキストマネージャ」とは、`with`文の中で使用できるPythonオブジェクトのことです。 例えば、[ファイルを読み込むには`with`を使用することができます](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 15.4K bytes - Click Count (0) -
fastapi/applications.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (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 ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 365 bytes - Click Count (0) -
docs/en/docs/tutorial/body-multiple-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/first-steps.md
``` 這個 `entrypoint` 會告訴 `fastapi` 指令應該用下面的方式匯入 app: ```python from main import app ``` 如果你的程式碼結構像是: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` 那你應該把 `entrypoint` 設為: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` 這等同於: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 13.3K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/docker.md
容器映像可類比為程式檔與其內容,例如 `python` 與某個 `main.py` 檔案。 而容器本身(相對於容器映像)是映像的實際執行實例,類比為「行程」。事實上,容器只有在有行程執行時才在運作(通常只有單一行程)。當其中沒有行程在執行時,容器就會停止。 ## 容器映像 { #container-images } Docker 是用來建立與管理容器映像與容器的主要工具之一。 也有一個公開的 [Docker Hub](https://hub.docker.com/),內含許多工具、環境、資料庫與應用的預先製作「官方映像」。 例如,有官方的 [Python 映像](https://hub.docker.com/_/python)。 也有許多其他針對不同用途的映像,例如資料庫:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 24.9K bytes - Click Count (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 - readCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 472 bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`: ```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` Here, `new_dict` will contain all the key-value pairs from `old_dict` plus the new key-value pair: ```Python { "old key": "old value",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
docs/en/docs/tutorial/first-steps.md
```python from main import app ``` If your code was structured like: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` Then you would set the `entrypoint` as: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` which would be equivalent to: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 13.4K bytes - Click Count (0)