- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for pipe (0.12 sec)
-
docs/id/docs/tutorial/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.9K bytes - Viewed (0) -
.github/workflows/build-docs.yml
run: pip install -r requirements-docs.txt # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps - name: Install Material for MkDocs Insiders if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' ) && steps.cache.outputs.cache-hit != 'true' run: |
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 03:12:00 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
在 Starlette 的支持下,**FastAPI** 应用可以直接使用工具轻易地配置 Jinja2。 ## 安装依赖项 安装 `jinja2`: <div class="termy"> ```console $ pip install jinja2 ---> 100% ``` </div> 如需使用静态文件,还要安装 `aiofiles`: <div class="termy"> ```console $ pip install aiofiles ---> 100% ``` </div> ## 使用 `Jinja2Templates` * 导入 `Jinja2Templates` * 创建可复用的 `templates` 对象
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:45:16 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
# 请求表单与文件 FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。 !!! info "说明" 接收上传文件或表单数据,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。 例如,`pip install python-multipart`。 ## 导入 `File` 与 `Form` ```Python hl_lines="1" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## 定义 `File` 与 `Form` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.1K bytes - Viewed (0) -
docs/em/docs/tutorial/testing.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
## 使用 `TestClient` !!! info "信息" 要使用 `TestClient`,先要安装 <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>. 例:`pip install httpx`. 导入 `TestClient`. 通过传入你的**FastAPI**应用创建一个 `TestClient` 。 创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。 像使用 `httpx` 那样使用 `TestClient` 对象。 为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6K bytes - Viewed (0) -
docs/em/docs/advanced/templates.md
👆 💪 ⚙️ 🙆 📄 🚒 👆 💚 ⏮️ **FastAPI**. ⚠ ⚒ Jinja2️⃣, 🎏 1️⃣ ⚙️ 🏺 & 🎏 🧰. 📤 🚙 🔗 ⚫️ 💪 👈 👆 💪 ⚙️ 🔗 👆 **FastAPI** 🈸 (🚚 💃). ## ❎ 🔗 ❎ `jinja2`: <div class="termy"> ```console $ pip install jinja2 ---> 100% ``` </div> ## ⚙️ `Jinja2Templates` * 🗄 `Jinja2Templates`. * ✍ `templates` 🎚 👈 👆 💪 🏤-⚙️ ⏪. * 📣 `Request` 🔢 *➡ 🛠️* 👈 🔜 📨 📄.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Dec 26 20:12:34 GMT 2023 - 2.1K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms.md
!!! info To use forms, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. E.g. `pip install python-multipart`. ## Import `Form` Import `Form` from `fastapi`: === "Python 3.9+" ```Python hl_lines="3" {!> ../../../docs_src/request_forms/tutorial001_an_py39.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms.md
!!! info Um Formulare zu verwenden, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>. Z. B. `pip install python-multipart`. ## `Form` importieren Importieren Sie `Form` von `fastapi`: === "Python 3.9+" ```Python hl_lines="3" {!> ../../../docs_src/request_forms/tutorial001_an_py39.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:06:54 GMT 2024 - 3.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
{!../../../docs_src/security/tutorial001.py!} ``` ## Execute-o !!! info "informação" Primeiro, instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. Ex: `pip install python-multipart`. Isso ocorre porque o **OAuth2** usa "dados de um formulário" para mandar o **username** e **senha**. Execute esse exemplo com: <div class="termy"> ```console
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.3K bytes - Viewed (0)