- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 707 for Pythons (0.07 seconds)
-
docs/zh/docs/tutorial/request-files.md
# 请求文件 `File` 用于定义客户端的上传文件。 /// info | 说明 因为上传文件以「表单数据」形式发送。 所以接收上传文件,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。 例如: `pip install python-multipart`。 /// ## 导入 `File` 从 `fastapi` 导入 `File` 和 `UploadFile`: {* ../../docs_src/request_files/tutorial001.py hl[1] *} ## 定义 `File` 参数 创建文件(`File`)参数的方式与 `Body` 和 `Form` 一样:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.3K bytes - Click Count (0) -
deploy_website.sh
#!/bin/bash # The website is built using MkDocs with the Material theme. # https://squidfunk.github.io/mkdocs-material/ # It requires python3 to run. set -ex REPO="******@****.***:square/okhttp.git" DIR=temp-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone $REPO $DIR # Replace `git clone` with these lines to hack on the website locally
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 1.2K bytes - Click Count (0) -
docs/pt/docs/alternatives.md
É por isso que, como dito no site oficial: > Requests é um dos pacotes Python mais baixados de todos os tempos O jeito de usar é muito simples. Por exemplo, para fazer uma requisição `GET`, você escreveria: ```Python response = requests.get("http://example.com/some/url") ``` A contra-parte na aplicação FastAPI, a operação de rota, poderia ficar assim: ```Python hl_lines="1" @app.get("/some/url") def read_url():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 25.9K bytes - Click Count (0) -
docs/pt/docs/index.md
Você faz isso com os tipos padrão do Python moderno. Você não terá que aprender uma nova sintaxe, métodos ou classes de uma biblioteca específica etc. Apenas **Python** padrão. Por exemplo, para um `int`: ```Python item_id: int ``` ou para um modelo mais complexo, `Item`: ```Python item: Item ``` ...e com essa única declaração você tem:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 24.5K bytes - Click Count (0) -
.github/workflows/label-approved.yml
steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: python-version: "3.11" - name: Setup uv uses: astral-sh/setup-uv@v7 with: version: "0.4.15" enable-cache: true cache-dependency-glob: |Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1.1K bytes - Click Count (0) -
.github/workflows/topic-repos.yml
- name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: python-version: "3.11" - name: Setup uv uses: astral-sh/setup-uv@v7 with: version: "0.4.15" enable-cache: true cache-dependency-glob: |Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Nov 21 13:03:21 GMT 2025 - 1021 bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
## 上下文管理器 ### 什么是"上下文管理器" "上下文管理器"是你可以在 `with` 语句中使用的任何Python对象。 例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 11.3K bytes - Click Count (0) -
docs/uk/docs/tutorial/header-params.md
Але змінна, така як `user-agent`, є недійсною в Python. Тому, за замовчуванням, `Header` автоматично перетворює символи підкреслення (`_`) на дефіси (`-`) для отримання та документування заголовків. Оскільки заголовки HTTP не чутливі до регістру, Ви можете використовувати стандартний стиль Python ("snake_case").Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 22 22:02:19 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/de/docs/tutorial/request-files.md
Stellen Sie sicher, dass Sie eine [virtuelle Umgebung](../virtual-environments.md){.internal-link target=_blank} erstellen, sie aktivieren und dann das Paket installieren, zum Beispiel: ```console $ pip install python-multipart ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 8.7K bytes - Click Count (0) -
docs/de/docs/tutorial/header-params.md
Aber eine Variable wie `user-agent` ist in Python ungültig. Daher wird `Header` standardmäßig die Zeichen des Parameter-Namens von Unterstrich (`_`) zu Bindestrich (`-`) konvertieren, um die Header zu extrahieren und zu dokumentieren. Außerdem ist Groß-/Kleinschreibung in HTTP-Headern nicht relevant, daher können Sie sie im Standard-Python-Stil (auch bekannt als „snake_case“) deklarieren.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.5K bytes - Click Count (0)