Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for task_id (0.07 seconds)

  1. docs_src/response_change_status_code/tutorial001_py310.py

    app = FastAPI()
    
    tasks = {"foo": "Listen to the Bar Fighters"}
    
    
    @app.put("/get-or-create-task/{task_id}", status_code=200)
    def get_or_create_task(task_id: str, response: Response):
        if task_id not in tasks:
            tasks[task_id] = "This didn't exist before"
            response.status_code = status.HTTP_201_CREATED
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 391 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                assertTrue(generator.generate("test_id", outputFile));
            } finally {
                outputFile.delete();
            }
        }
    
        @Test
        public void test_generate_outputFile_null() throws Exception {
            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                generator.generate("test_id", null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize ProtwordsFile
            protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            protwordsFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize CharMappingFile
            charMappingFile = new CharMappingFile("test_id", testFile.getAbsolutePath(), new Date());
            charMappingFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/advanced-dependencies.md

    Bu şekilde muhtemelen daha temiz bir kod elde edersiniz.
    
    ///
    
    Bu davranışa güvenerek kod yazdıysanız, artık background task'ler için resource'ları background task'in içinde oluşturmalı ve içeride yalnızca `yield` kullanan dependency'lerin resource'larına bağlı olmayan verileri kullanmalısınız.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        @Test
        public void test_statsKeyObjectWithoutUrl() {
            StatsKeyObject key = new StatsKeyObject("test_id");
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "action");
            crawlerStatsHelper.done(key);
    
            String[] values = localLogMsg.get().split("\t");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                    org.codelibs.fess.crawler.entity.ResultData resultData) {
                // Initialize test access result
            }
    
            @Override
            public String getId() {
                return "test_id";
            }
    
            @Override
            public String getSessionId() {
                return "test_session";
            }
    
            @Override
            public String getRuleId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top