- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 751 for startTs (0.15 sec)
-
docs_src/app_testing/tutorial003_py39.py
from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() items = {} @app.on_event("startup") async def startup_event(): items["foo"] = {"name": "Fighters"} items["bar"] = {"name": "Tenders"} @app.get("/items/{item_id}") async def read_items(item_id: str): return items[item_id] def test_read_items(): with TestClient(app) as client:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 528 bytes - Viewed (0) -
docs_src/events/tutorial001_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 283 bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
```console $ pip install httpx ``` /// Import `TestClient`. Create a `TestClient` by passing your **FastAPI** application to it. Create functions with a name that starts with `test_` (this is standard `pytest` conventions). Use the `TestClient` object the same way as you do with `httpx`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/resiliency/docker-compose.yaml
expose: - "9000" - "9001" environment: MINIO_CI_CD: 1 healthcheck: test: ["CMD", "mc", "ready", "local"] interval: 5s timeout: 5s retries: 5 # starts 4 docker containers running minio server instances. # using nginx reverse proxy, load balancing, you can access # it through port 9000. services: minio1: <<: *minio-common hostname: minio1 volumes:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
get() = eventListenerAdapter /** Events that haven't yet been removed. */ val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque() /** The full set of events, used to match starts with ends. */ private val eventsForMatching = ConcurrentLinkedDeque<CallEvent>() private val forbiddenLocks = mutableListOf<Any>()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/pt/llm-prompt.md
* response (as in HTTP response): response (do not change if it's already translated to resposta) * shutdown (of the app): encerramento * shutdown event (of the app): evento de encerramento * startup (as in the event of the app): inicialização * startup event (as in the event of the app): evento de inicialização * Stream: Stream * string: string * type hints: anotações de tipo
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.1K bytes - Viewed (0) -
cmd/grid.go
// globalLockGrid is the global lock grid manager. var globalLockGrid atomic.Pointer[grid.Manager] // globalGridStart is a channel that will block startup of grid connections until closed. var globalGridStart = make(chan struct{}) // globalLockGridStart is a channel that will block startup of lock grid connections until closed. var globalLockGridStart = make(chan struct{})
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt
"and call OkHttp.initialize before test", ) } else { throw IOException( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) } } return assets.open(path).source() } companion object {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
@Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire() assertTrue(session.isInUse(), "New session should be in use due to transport acquisition"); // Test additional acquire session.acquire();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} }); } private void importBulk(final String fileName, final File tempFile) { if (logger.isDebugEnabled()) { logger.debug("Bulk data import started: fileName={}", fileName); } final ObjectMapper mapper = new ObjectMapper(); final AtomicBoolean resetJobs = new AtomicBoolean(false);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 32.1K bytes - Viewed (0)