Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 5,895 for Session (1.22 sec)

  1. tests/test_dependency_after_yield_raise.py

    
    class CustomError(Exception):
        pass
    
    
    def catching_dep() -> Any:
        try:
            yield "s"
        except CustomError as err:
            raise HTTPException(status_code=418, detail="Session error") from err
    
    
    def broken_dep() -> Any:
        yield "s"
        raise ValueError("Broken after yield")
    
    
    app = FastAPI()
    
    
    @app.get("/catching")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. callbacks/delete.go

    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    				tx := db.Session(&gorm.Session{NewDB: true}).Model(modelValue)
    				withoutConditions := false
    				if db.Statement.Unscoped {
    					tx = tx.Unscoped()
    				}
    
    				if len(db.Statement.Selects) > 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SessionSetupHandler.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    /**
     * Handler for SMB session setup operations.
     *
     * This interface defines methods for handling the session
     * setup process in SMB authentication.
     *
     * @author mbechler
     */
    public interface SessionSetupHandler {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1017 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            return authUrl;
    
        }
    
        /**
         * Stores state and nonce information in the HTTP session.
         * @param session The HTTP session.
         * @param state The OAuth2 state parameter.
         * @param nonce The OpenID Connect nonce parameter.
         */
        protected void storeStateInSession(final HttpSession session, final String state, final String nonce) {
            @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            File pom = getProject("MNG-6983");
    
            MavenSession session = createMavenSession(pom);
            MavenProject project = session.getCurrentProject();
    
            for (Plugin buildPlugin : project.getBuildPlugins()) {
                assertNotNull(buildPlugin.getVersion(), "Missing version for build plugin " + buildPlugin.getKey());
            }
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .sslSocketFactory(CustomSSLSocketFactory(client.sslSocketFactory), client.x509TrustManager!!)
            .hostnameVerifier { hostname, session ->
              val s = "hostname: $hostname peerHost:${session.peerHost}"
              Log.d("SniOverrideTest", s)
              try {
                val cert = session.peerCertificates[0] as X509Certificate
                for (name in cert.subjectAlternativeNames) {
                  if (name[0] as Int == 2) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                throw new OpenSearchAccessException("Failed to insert " + list, e);
            }
        }
    
        /**
         * Checks if a document exists in the OpenSearch index for the given session ID and URL.
         *
         * @param sessionId The session ID of the document.
         * @param url The URL of the document.
         * @return true if the document exists, false otherwise.
         * @throws OpenSearchAccessException if the existence check fails.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    	DB.Raw("select * from users WHERE id = ?", users[1].ID).First(&user)
    	CheckUser(t, user, *users[1])
    }
    
    func TestDryRun(t *testing.T) {
    	user := *GetUser("dry-run", Config{})
    
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	stmt := dryRunDB.Create(&user).Statement
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 9 {
    		t.Errorf("Failed to generate sql, got %v", stmt.SQL.String())
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            if (viewHelper.isUseSession()) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
                        session.setAttribute(Constants.RESULTS_PER_PAGE, form.num);
                    }
                });
            }
            return doSearch(form);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

        }
    
        @Override
        public void install(File source, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
            RepositorySystemSession session =
                    LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), repoSystem);
    
            InstallRequest request = new InstallRequest();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top