Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 6,329 for Session (0.12 seconds)

  1. docs_src/dependencies/tutorial014_an_py310.py

    from sqlmodel import Field, Session, SQLModel, create_engine
    
    engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db")
    
    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                    @Nonnull Session session, @Nonnull String type) throws ToolchainManagerException {
                return getDelegate().getToolchainFromBuildContext(session, type);
            }
    
            @Override
            public void storeToolchainToBuildContext(
                    @Nonnull Session session, @Nonnull org.apache.maven.api.Toolchain toolchain) {
                getDelegate().storeToolchainToBuildContext(session, toolchain);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/entity/ChatSession.java

    /**
     * Represents a chat session containing conversation history.
     *
     * @author FessProject
     */
    public class ChatSession {
    
        /** The unique session identifier. */
        private String sessionId;
    
        /** The user ID associated with this session. */
        private String userId;
    
        /** The timestamp when the session was created. */
        private LocalDateTime createdAt;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. docs_src/sql_databases/tutorial001_an_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                    .build(new CacheLoader<String, List<Pattern>>() {
    
                        /**
                         * Loads filter patterns for the given session ID.
                         *
                         * @param key The session ID.
                         * @return The list of compiled patterns.
                         */
                        @Override
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        }
    
        /**
         * Extracts the canonical session ID by removing any suffix after the first hyphen.
         * If the session ID contains a hyphen, returns the portion before the first hyphen.
         * Otherwise, returns the original session ID.
         *
         * @param sessionId the session ID to process
         * @return the canonical session ID (portion before first hyphen, or original if no hyphen)
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    resource.setContentLength(size - 1);
    
                    DefaultRepositorySystemSession session =
                            new DefaultRepositorySystemSession(h -> false); // no close handle
    
                    // warm up
                    test(listener, session, resource, 0);
    
                    for (int i = 1; i < size; i++) {
                        final int bytes = i;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

        @Size(max = 1000)
        public String id;
    
        /**
         * The session identifier of the crawling session.
         * This is a required field that identifies the specific crawling session.
         * Maximum length is 20 characters.
         */
        @Required
        @Size(max = 20)
        public String sessionId;
    
        /**
         * The name or description of the crawling session.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                try {
                    Model model = read(project.getFile().toPath());
                    String version = model.getVersion();
                    if (version == null && model.getParent() != null) {
                        version = model.getParent().getVersion();
                    }
                    String newVersion;
                    if (version != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top