Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 604 for csession (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/dependencies/tutorial007_py310.py

    async def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 99 bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/sql-databases.md

    不用担心,我们会按照代码结构确保**每个请求使用一个单独的 SQLModel 会话(session)**,这实际上就是 `check_same_thread` 想要实现的。
    
    ### 创建表 { #create-the-tables }
    
    然后,我们来添加一个函数,使用 `SQLModel.metadata.create_all(engine)` 为所有*表模型***创建表**。
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### 创建会话(Session)依赖项 { #create-a-session-dependency }
    
    **`Session`** 会存储**内存中的对象**并跟踪数据中所需更改的内容,然后它**使用 `engine`** 与数据库进行通信。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

     *
     * As policy, implementations of this interface are responsible for selecting which cookies to
     * accept and which to reject. A reasonable policy is to reject all cookies, though that may
     * interfere with session-based authentication schemes that require cookies.
     *
     * As persistence, implementations of this interface must also provide storage of cookies. Simple
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     * <ul>
     *   <li>PERSISTENT - Data persists across Maven invocations</li>
     *   <li>SESSION_SCOPED - Data retained for the duration of a Maven session</li>
     *   <li>REQUEST_SCOPED - Data retained only for the current build request</li>
     *   <li>DISABLED - No caching performed</li>
     * </ul>
     * <p>
     * Example usage:
     * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    
            boolean missingArtifactDescriptor = false;
    
            for (RepositoryEvent evt : event.getAllValues()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                    return Stream.empty();
                }
            };
        }
    
        /**
         * Creates new instance of problem collector with configuration from the provided session.
         *
         * @param <P> the type of problem
         * @param protoSession the session containing configuration for the problem collector
         * @return a new problem collector instance
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

              ) as SSLSocket
            sslSocket.use {
              sslSocket.useClientMode = false
              sslSocket.wantClientAuth = true
              sslSocket.startHandshake()
              return@submit sslSocket.session.handshake()
            }
          }
        }
      }
    
      private fun doClientHandshake(
        client: HandshakeCertificates,
        serverAddress: InetSocketAddress,
      ): Future<Handshake> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

     */
    @Deprecated(since = "4.0.0")
    public class ArtifactDescriptorReaderDelegate {
        public void populateResult(RepositorySystemSession session, ArtifactDescriptorResult result, Model model) {
            ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry();
    
            for (Repository r : model.getRepositories()) {
                result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r));
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. docs/sts/client-grants.md

    ## API Request Parameters
    
    ### Token
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top