- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 475 for _wait (0.01 sec)
-
docs/en/docs/advanced/dataclasses.md
As always, in FastAPI you can combine `def` and `async def` as needed. If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}. 9. This *path operation function* is not returning dataclasses (although it could), but a list of dictionaries with internal data.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/de/docs/advanced/dataclasses.md
Wenn Sie eine Auffrischung darüber benötigen, wann welche Anwendung sinnvoll ist, lesen Sie den Abschnitt „In Eile?“ in der Dokumentation zu [`async` und `await`](../async.md#in-eile){.internal-link target=_blank}. 9. Diese *Pfadoperation-Funktion* gibt keine Datenklassen zurück (obwohl dies möglich wäre), sondern eine Liste von Dictionarys mit internen Daten.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 10:12:35 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/background-tasks.md
В нашем примере фоновая задача будет вести запись в файл (симулируя отправку письма). Так как операция записи не использует `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/uk/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Або використайте <code>async def</code>...</summary> Якщо ваш код використовує `async` / `await`, скористайтеся `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root():
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Test implementation } public boolean waitForNotification(long timeoutMs) throws InterruptedException { return notificationLatch.await(timeoutMs, TimeUnit.MILLISECONDS); } public WitnessNotification getLastNotification() { return lastNotification; } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
// Create an expired handle HandleInfo expiredHandle = new HandleInfo("/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration Thread.sleep(150); CompletableFuture<HandleInfo> future = reconnector.reconnectHandle(expiredHandle, new IOException("Network error"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/sftp-server-driver.go
return nil, err } return obj, nil } // TransferError will catch network errors during transfer. // When TransferError() is called Close() will also // be called, so we do not need to Wait() here. func (w *writerAt) TransferError(err error) { _ = w.w.CloseWithError(err) _ = w.r.CloseWithError(err) w.err = err } func (w *writerAt) Close() (err error) { switch {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
try { rateLimiter.checkAttempt(username, ip); fail("Should be locked out"); } catch (SmbException e) { // Expected } // Wait for lockout to expire Thread.sleep(2100); // Lockout is 2 seconds in test setup // Should be allowed again assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after lockout expiry");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
docs/uk/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | Порада Зверніть увагу, що тестові функції — це звичайні `def`, а не `async def`. Виклики клієнта також звичайні, без використання `await`. Це дозволяє використовувати `pytest` без зайвих ускладнень. /// /// note | Технічні деталі Ви також можете використовувати `from starlette.testclient import TestClient`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:12:19 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.inFlightLookups.add(name); return null; } while (this.inFlightLookups.contains(name)) { try { this.inFlightLookups.wait(); } catch (final InterruptedException e) { log.trace("Interrupted", e); } } } obj = getCachedAddress(name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0)