- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 782 for asyncpg (0.03 sec)
-
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
* * @return the asyncId */ public final long getAsyncId() { return this.asyncId; } /** * Sets the asynchronous identifier for this message. * * @param asyncId * the asyncId to set */ public final void setAsyncId(final long asyncId) { this.asyncId = asyncId; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial007.py
import asyncio from contextlib import asynccontextmanager from unittest.mock import Mock, patch from docs_src.dependencies.tutorial007_py39 import get_db def test_get_db(): # Just for coverage async def test_async_gen(): cm = asynccontextmanager(get_db) async with cm() as db_session: return db_session dbsession_moock = Mock() with patch(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 642 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
* The message ID of the request to cancel * @param asyncId * The async ID for asynchronous operations (0 for synchronous) */ public Smb2CancelRequest(final Configuration config, final long mid, final long asyncId) { super(config, SMB2_CANCEL); setMid(mid); setAsyncId(asyncId); if (asyncId != 0) { addFlags(SMB2_FLAGS_ASYNC_COMMAND); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
tests/test_dependency_wrapped.py
"/async-wrapped-dependency-async-wrapper/", "/async-wrapped-gen-dependency-async-wrapper/", "/wrapped-class-instance-dependency-async-wrapper/", "/wrapped-class-instance-async-dependency-async-wrapper/", "/wrapped-class-dependency-async-wrapper/", "/wrapped-endpoint-async-wrapper/", "/async-wrapped-endpoint-async-wrapper/", ], )Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@Test @DisplayName("createCancel should return Smb2CancelRequest with same mid and asyncId") void testCreateCancel() { long mid = 123L; long asyncId = 456L; testRequest.setMid(mid); testRequest.setAsyncId(asyncId); CommonServerMessageBlockRequest cancelRequest = testRequest.createCancel();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
docs/fr/docs/deployment/manually.md
compatibles avec <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a>, de la bibliothèque standard Python et <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>. Néanmoins, Uvicorn n'est actuellement compatible qu'avec asyncio, et il utilise normalement <a href="https://github.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 5.3K bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial003b.py
import asyncio from fastapi.testclient import TestClient from docs_src.path_params.tutorial003b_py39 import app, read_users2 client = TestClient(app) def test_get_users(): response = client.get("/users") assert response.status_code == 200, response.text assert response.json() == ["Rick", "Morty"] def test_read_users2(): # Just for coverage assert asyncio.run(read_users2()) == ["Bean", "Elfo"]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_dependency_class.py
@app.get("/callable-gen-dependency") async def get_callable_gen_dependency(value: str = Depends(callable_gen_dependency)): return value @app.get("/async-callable-dependency") async def get_async_callable_dependency( value: str = Depends(async_callable_dependency), ): return value @app.get("/async-callable-gen-dependency") async def get_async_callable_gen_dependency( value: str = Depends(async_callable_gen_dependency), ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_dependency_partial.py
return value @app.get("/partial-async-callable-dependency") async def get_partial_async_callable_dependency( value: Annotated[ str, Depends( partial(async_callable_dependency, "partial-async-callable-dependency") ), ], ) -> str: return value @app.get("/partial-async-callable-gen-dependency") async def get_partial_async_callable_gen_dependency(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.3K bytes - Viewed (0) -
tests/benchmarks/test_general_performance.py
@app.get("/async/large-dict-no-response-model") async def async_large_dict_no_response_model(): return LARGE_PAYLOAD @app.get("/async/large-dict-with-response-model", response_model=LargeOut) async def async_large_dict_with_response_model(): return LARGE_PAYLOAD @app.get("/async/large-model-no-response-model") async def async_large_model_no_response_model():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 20:40:26 UTC 2025 - 11.1K bytes - Viewed (0)