Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for session_id (0.13 sec)

  1. docs_src/cookie_param_models/tutorial002_pv1_py310.py

    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        class Config:
            extra = "forbid"
    
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 347 bytes
    - Viewed (0)
  2. docs_src/cookie_param_models/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 343 bytes
    - Viewed (0)
  3. docs_src/cookie_param_models/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: Union[str, None] = None
        googall_tracker: Union[str, None] = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 362 bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            }
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
        public void offerAll(final String sessionId, final List<OpenSearchUrlQueue> urlQueueList) {
            if (logger.isDebugEnabled()) {
                logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                if (Constants.FALSE.equals(initParamMap.getAsString(DELETE_OLD_DOCS))) {
                    return;
                }
                final String sessionId = initParamMap.getAsString(Constants.SESSION_ID);
                if (StringUtil.isBlank(sessionId)) {
                    logger.warn("Invalid sessionId at {}", dataConfig);
                    return;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                }
                responseData.setExecutionTime(systemHelper.getCurrentTimeAsLong() - startTime);
                if (dataMap.containsKey(Constants.SESSION_ID)) {
                    responseData.setSessionId((String) dataMap.get(Constants.SESSION_ID));
                } else {
                    responseData.setSessionId((String) paramMap.get(Constants.CRAWLING_INFO_ID));
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/PythonJob.java

            if (sessionId == null) { // create session id
                sessionId = RandomStringUtils.randomAlphabetic(15);
            }
            resultBuf.append("Session Id: ").append(sessionId).append("\n");
            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                defaultDataMap.put(fessConfig.getIndexFieldExpires(), documentExpires);
            }
            // segment
            defaultDataMap.put(fessConfig.getIndexFieldSegment(), initParamMap.getAsString(Constants.SESSION_ID));
            // created
            defaultDataMap.put(fessConfig.getIndexFieldCreated(), systemHelper.getCurrentTime());
            // boost
            defaultDataMap.put(fessConfig.getIndexFieldBoost(), config.getBoost().toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            try {
                urlQueueService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url queues: {}", sessionId, e);
            }
            try {
                dataService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete data: {}", sessionId, e);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/Constants.java

        public static final String DATA_INDEX_EXEC_TIME = "DataIndexExecTime";
    
        public static final String DATA_INDEX_SIZE = "DataIndexSize";
    
        public static final String SESSION_ID = "sessionId";
    
        public static final String CRAWLING_INFO_ID = "crawlingInfoId";
    
        public static final String INDEXING_TARGET = "indexingTarget";
    
        public static final String NUM_OF_THREADS = "numOfThreads";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 22 12:43:18 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top