- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 88 for story (0.02 seconds)
-
docs_src/stream_data/tutorial001_py310.py
""" @app.get("/story/stream", response_class=StreamingResponse) async def stream_story() -> AsyncIterable[str]: for line in message.splitlines(): yield line @app.get("/story/stream-no-async", response_class=StreamingResponse) def stream_story_no_async() -> Iterable[str]: for line in message.splitlines(): yield line
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/en/docs/async.md
The fast food store has 8 processors (cashiers/cooks). While the concurrent burgers store might have had only 2 (one cashier and one cook). But still, the final experience is not the best. 😞 --- This would be the parallel equivalent story for burgers. 🍔 For a more "real life" example of this, imagine a bank.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 23.4K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
if stmt.Stmt != nil { return stmt.Stmt.Close() } return nil } // Store defines an interface for managing the caching operations of SQL statements (Stmt). // This interface provides methods for creating new statements, retrieving all cache keys, // getting cached statements, setting cached statements, and deleting cached statements. type Store interface { // New creates a new Stmt object and caches it. // Parameters:Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
// Add some info to map crawlingInfoHelper.putToInfoMap("url_count", "100"); crawlingInfoHelper.putToInfoMap("error_count", "5"); // Store with create=true crawlingInfoHelper.store(sessionId, true); // Verify infoMap is cleared assertNull(crawlingInfoHelper.infoMap); } @Test public void test_store_existing() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
dataMap.put("title", "Test Document"); // Execute indexUpdateCallback.store(paramMap, dataMap); // Verify assertEquals(1, indexUpdateCallback.getDocumentSize()); // Check if fields were added (they should be added by the store method) assertNotNull(dataMap.get("id"), "ID should be set");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e); } try { return crawler.doCrawl(options); } finally { try { crawlingInfoHelper.store(options.sessionId, false); } catch (final Exception e) { logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 32.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
@Override public void store(DataConfig dataConfig, IndexUpdateCallback callback, DataStoreParams params) { /* No-op */ } @Override public void stop() { /* No-op */ } } private static class FastMockFailureUrlService extends FailureUrlService { public void store(DataConfig dataConfig, String errorName, String url, Throwable e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
} // Test overwriting existing data store @Test public void test_overwriteExistingDataStore() { TestDataStore dataStore1 = new TestDataStore("Store1"); TestDataStore dataStore2 = new TestDataStore("Store2"); dataStoreFactory.add("store", dataStore1); assertSame(dataStore1, dataStoreFactory.getDataStore("store")); dataStoreFactory.add("store", dataStore2);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
gorm.go
tx = db.getInstance() return tx.Session(&Session{ Logger: db.Logger.LogMode(logger.Info), }) } // Set store value with key into current db instance's context func (db *DB) Set(key string, value interface{}) *DB { tx := db.getInstance() tx.Statement.Settings.Store(key, value) return tx } // Get get value with key from current db instance's context
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
.github/workflows/test.yml
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }} CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }} # Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow - name: Store coverage files if: matrix.coverage == 'coverage' uses: actions/upload-artifact@v7 with:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 6.4K bytes - Click Count (0)