- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 341 for awaited (0.42 sec)
-
docs/en/docs/alternatives.md
This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep. Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask. /// check | Inspired **FastAPI** to
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 23.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Dica Observe que as funções de teste são `def` normais, não `async def`. E as chamadas para o cliente também são chamadas normais, não usando `await`. Isso permite que você use `pytest` diretamente sem complicações. /// /// note | Detalhes Técnicos Você também pode usar `from starlette.testclient import TestClient`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
assertEquals(cancelMode == INTERRUPT, Thread.interrupted()) } responseBody.close() assertEquals(if (connectionType == H2) 1 else 0, client.connectionPool.connectionCount()) cancelLatch.await() val events = eventRecorder.eventSequence.filter { isConnectionEvent(it) }.map { it.name } eventRecorder.clearAllEvents()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Consejo Nota que las funciones de prueba son `def` normales, no `async def`. Y las llamadas al cliente también son llamadas normales, sin usar `await`. Esto te permite usar `pytest` directamente sin complicaciones. /// /// note | Nota Técnica También podrías usar `from starlette.testclient import TestClient`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
/// tip | Подсказка Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`. И вызов клиента также осуществляется без `await`. Это позволяет вам использовать `pytest` без лишних усложнений. /// /// note | Технические детали Также можно написать `from starlette.testclient import TestClient`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
return if (!fieldType.isInstance(value)) null else fieldType.cast(value) } catch (_: NoSuchFieldException) { } c = c.superclass } // Didn't find the field we wanted. As a last gasp attempt, // try to find the value on a delegate. if (fieldName != "delegate") { val delegate = readFieldOrNull(instance, Any::class.java, "delegate")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ) { try { latch.await() // The server can't respond to pings! } catch (e: InterruptedException) { throw AssertionError(e) } } }, ).build(), )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
} public static List<MavenProject> getProjects(MavenProject project, MavenSession session, boolean aggregator) { if (aggregator && project.getCollectedProjects() != null) { // get the unsorted list of wanted projects Set<MavenProject> projectAndSubmodules = new HashSet<>(project.getCollectedProjects()); projectAndSubmodules.add(project); return session.getProjects().stream() // sorted allRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 15.6K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
) tasks.add_task(bg, state) return state @app.middleware("http") async def middleware(request, call_next): response: StreamingResponse = await call_next(request) response.headers["x-state"] = json.dumps(state.copy()) return response client = TestClient(app) def test_async_state():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/fr/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Ou utilisez <code>async def</code> ...</summary> Si votre code utilise `async` / `await`, utilisez `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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 22K bytes - Viewed (0)