Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 9,621 for Session (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            VersionRange versionRange;
            try {
                String version = plugin.getVersion();
                if (version == null || version.isEmpty()) {
                    version = "RELEASE";
                }
                versionRange = VersionRange.createFromVersionSpec(version);
            } catch (InvalidVersionSpecificationException e) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_cookie_params/test_tutorial001_an.py

            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    def test(path, cookies, expected_status, expected_response):
        client = TestClient(app, cookies=cookies)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    background task itself, and use internally only data that doesn't depend on the resources of dependencies with `yield`.
    
    For example, instead of using the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tests/table_test.go

    )
    
    type UserWithTable struct {
    	gorm.Model
    	Name string
    }
    
    func (UserWithTable) TableName() string {
    	return "gorm.user"
    }
    
    func TestTable(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	r := dryDB.Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    import org.codehaus.plexus.ContainerConfiguration;
    import org.codehaus.plexus.DefaultContainerConfiguration;
    import org.codehaus.plexus.DefaultPlexusContainer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py

            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    def test(path, cookies, expected_status, expected_response):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         */
        @Nonnull
        Version getVersion();
    
        /**
         * {@return the version or meta-version of the artifact}
         * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
         * Meta-versions are represented in a base version by their symbols (e.g., {@code SNAPSHOT}),
         * while they are replaced by, for example, the actual timestamp in the {@linkplain #getVersion() version}.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. tests/soft_delete_test.go

    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    	if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> {
                final HttpSession session = r.getSession(false);
                if (session != null) {
                    return session.getId();
                }
                final String preference = r.getParameter("preference");
                if (preference != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top