- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 475 for tiap (0.03 sec)
-
docs/em/docs/advanced/async-tests.md
{!../../docs_src/async_tests/test_main.py!} ``` /// tip 🗒 👈 💯 🔢 🔜 `async def` ↩️ `def` ⏭ 🕐❔ ⚙️ `TestClient`. /// ⤴️ 👥 💪 ✍ `AsyncClient` ⏮️ 📱, & 📨 🔁 📨 ⚫️, ⚙️ `await`. ```Python hl_lines="9-12" {!../../docs_src/async_tests/test_main.py!} ``` 👉 🌓: ```Python response = client.get('/') ``` ...👈 👥 ⚙️ ⚒ 👆 📨 ⏮️ `TestClient`. /// tip 🗒 👈 👥 ⚙️ 🔁/⌛ ⏮️ 🆕 `AsyncClient` - 📨 🔁.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
│ ├── main.py │ ├── dependencies.py │ └── routers │ │ ├── __init__.py │ │ ├── items.py │ │ └── users.py │ └── internal │ ├── __init__.py │ └── admin.py ``` /// tip 📤 📚 `__init__.py` 📁: 1️⃣ 🔠 📁 ⚖️ 📁. 👉 ⚫️❔ ✔ 🏭 📟 ⚪️➡️ 1️⃣ 📁 🔘 ➕1️⃣. 🖼, `app/main.py` 👆 💪 ✔️ ⏸ 💖: ``` from app.routers import items ``` ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
``` //// //// tab | Python 3.10+ non-Annotated /// tip | "Dica" Prefira usar a versão `Annotated` se possível. /// ```Python {!> ../../docs_src/app_testing/app_b_py310/main.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | "Dica" Prefira usar a versão `Annotated` se possível. /// ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
{!../../docs_src/app_testing/tutorial001.py!} ``` /// tip | "提示" 注意测试函数是普通的 `def`,不是 `async def`。 还有client的调用也是普通的调用,不是用 `await`。 这让你可以直接使用 `pytest` 而不会遇到麻烦。 /// /// note | "技术细节" 你也可以用 `from starlette.testclient import TestClient`。 **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。 /// /// tip | "提示"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
## Em Detalhes O marcador `@pytest.mark.anyio` informa ao pytest que esta função de teste deve ser invocada de maneira assíncrona: ```Python hl_lines="7" {!../../docs_src/async_tests/test_main.py!} ``` /// tip | "Dica" Note que a função de teste é `async def` agora, no lugar de apenas `def` como quando estávamos utilizando o `TestClient` anteriormente. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="1 4-6" title="app/dependencies.py" {!> ../../docs_src/bigger_applications/app/dependencies.py!} ``` //// /// tip We are using an invented header to simplify this example.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
docs/em/docs/advanced/behind-a-proxy.md
// More stuff here } } ``` /// tip 👀 🚘-🏗 💽 ⏮️ `url` 💲 `/api/v1`, ✊ ⚪️➡️ `root_path`. /// 🩺 🎚 <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a> ⚫️ 🔜 👀 💖: <img src="/img/tutorial/behind-a-proxy/image03.png"> /// tip 🩺 🎚 🔜 🔗 ⏮️ 💽 👈 👆 🖊. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/zh/docs/advanced/websockets.md
{!> ../../docs_src/websockets/tutorial002_an.py!} ``` //// //// tab | Python 3.10+ 非带注解版本 /// tip 如果可能,请尽量使用 `Annotated` 版本。 /// ```Python hl_lines="66-67 79" {!> ../../docs_src/websockets/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ 非带注解版本 /// tip 如果可能,请尽量使用 `Annotated` 版本。 /// ```Python hl_lines="68-69 81"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
<img src="/img/tutorial/body/image05.png"> /// tip | "Tipp"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
ci/official/utilities/setup.sh
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 07 23:01:25 UTC 2024 - 6K bytes - Viewed (0)