- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 422 for Resync (0.48 sec)
-
docs/uk/docs/tutorial/testing.md
/// /// tip | Порада Якщо Вам потрібно викликати `async`-функції у ваших тестах, окрім відправлення запитів до FastAPI-застосунку (наприклад, асинхронні функції роботи з базою даних), перегляньте [Асинхронні тести](../advanced/async-tests.md){.internal-link target=_blank} у розширеному керівництві. /// ## Розділення тестів
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:12:19 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/background-tasks.md
Это совершенно обычная функция, которая может принимать параметры. Она может быть как асинхронной `async def`, так и обычной `def` функцией, **FastAPI** знает, как правильно ее выполнить. В нашем примере фоновая задача будет вести запись в файл (симулируя отправку письма). Так как операция записи не использует `async` и `await`, мы определим ее как обычную `def`: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* & 🎏 🔗: {* ../../docs_src/dependencies/tutorial007.py hl[4] *} 📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚: {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *} /// tip 👆 💪 ⚙️ `async` ⚖️ 😐 🔢. **FastAPI** 🔜 ▶️️ 👜 ⏮️ 🔠, 🎏 ⏮️ 😐 🔗. /// ## 🔗 ⏮️ `yield` & `try` 🚥 👆 ⚙️ `try` 🍫 🔗 ⏮️ `yield`, 👆 🔜 📨 🙆 ⚠ 👈 🚮 🕐❔ ⚙️ 🔗.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
W tym przypadku jest to funkcja "asynchroniczna". --- Możesz również zdefiniować to jako normalną funkcję zamiast `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note Jeśli nie znasz różnicy, sprawdź [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}. /// ### Krok 5: zwróć zawartość
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.6K bytes - Viewed (0) -
README.md
```java import org.codelibs.curl.Curl; Curl.post("https://api.example.com/items") .body("{\"name\":\"item1\"}") .header("Content-Type", "application/json") .execute( response -> System.out.println("Async status: " + response.getHttpStatusCode()), error -> error.printStackTrace()); ``` ## API Overview - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:11:14 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/es/docs/index.md
``` <details markdown="1"> <summary>O usa <code>async def</code>...</summary> Si tu código usa `async` / `await`, usa `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.5K bytes - Viewed (0) -
docs/nl/docs/index.md
<summary>Of maak gebruik van <code>async def</code>...</summary> Als je code gebruik maakt van `async` / `await`, gebruik dan `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.2K bytes - Viewed (0) -
docs/pt/docs/index.md
<details markdown="1"> <summary>Ou use <code>async def</code>...</summary> Se seu código utiliza `async` / `await`, use `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.6K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
Es handelt sich schlicht um eine Standard-Funktion, die Parameter empfangen kann. Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiß, wie damit zu verfahren ist. In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend). Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/perf-tests.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "encoding/gob" "errors" "fmt" "io" "math/rand" "net/http" "net/url" "sync" "sync/atomic" "time" "github.com/dustin/go-humanize" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" xhttp "github.com/minio/minio/internal/http"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0)