Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 420 for Abrams (0.12 sec)

  1. docs_src/dependency_testing/tutorial001_an.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. docs_src/dependency_testing/tutorial001.py

    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. docs_src/dependency_testing/tutorial001_an_py310.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. test-site/app/controllers/Suggest.java

    import play.mvc.Result;
    
    import java.util.Map;
    
    public class Suggest extends Controller {
        public static Result get() {
            Map<String, String[]> params = request().queryString();
            String[] callback = params.get("callback");
            String[] query = params.get("query");
            try {
                SuggestIndex suggestIndex = new SuggestIndex();
                SuggestResponse response = suggestIndex.suggest(query[0]);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.java");
            final Map<String, String> params = new HashMap<String, String>();
            params.put("Content-Type", "text/plain");
            params.put("resourceName", "test.java");
            final ExtractData extractData = tikaExtractor.getText(in, params);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

            passwordMap.put(Pattern.compile(regex), password);
        }
    
        protected String getPassword(final Map<String, String> params) {
            final String url = params != null ? params.get(ExtractData.URL) : null;
            if (!passwordMap.isEmpty()) {
                final String resourceName = params != null ? params.get(ExtractData.RESOURCE_NAME_KEY) : null;
    
                String value = null;
                if (StringUtil.isNotEmpty(url)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess.bat

    @echo off
    
    SETLOCAL enabledelayedexpansion
    TITLE Fess
    
    SET params='%*'
    
    :loop
    FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO (
        SET current=%%A
        SET params='%%B'
    	SET silent=N
    	
    	IF "!current!" == "-s" (
    		SET silent=Y
    	)
    	IF "!current!" == "--silent" (
    		SET silent=Y
    	)	
    	
    	IF "!silent!" == "Y" (
    		SET nopauseonerror=Y
    	) ELSE (
    	    IF "x!newparams!" NEQ "x" (
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 24 22:24:52 UTC 2020
    - 796 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected Function<Map<String, Object>, String[]> idFinder = params -> {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            final Object url = params.get("url");
            if (url == null) {
                return StringUtil.EMPTY_STRINGS;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

        public DefaultIntervalController(final Map<String, Long> params) {
            Long millis = params.get("delayMillisAfterProcessing");
            if (millis != null) {
                delayMillisAfterProcessing = millis;
            }
    
            millis = params.get("delayMillisAtNoUrlInQueue");
            if (millis != null) {
                delayMillisAtNoUrlInQueue = millis;
            }
    
            millis = params.get("delayMillisBeforeProcessing");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            final Map<String, String> params = new HashMap<>();
            params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData));
            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            String content = null;
            try (final InputStream in = responseData.getResponseBody()) {
                content = extractor.getText(in, params).getContent();
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top