- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 526 for users4 (0.16 sec)
-
cmd/admin-handlers-users.go
return } for user := range users { checkedUserList = append(checkedUserList, user) } checkedUserList = append(checkedUserList, globalActiveCred.AccessKey) } else { for _, user := range users { // Validate the user _, ok := globalIAMSys.GetUser(ctx, user) if !ok { continue } checkedUserList = append(checkedUserList, user) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
tests/update_test.go
if users[1].Name != "update_column_02_newname" || users[1].Age != 100 { t.Errorf("user 2 should be updated with update column") } AssertEqual(t, lastUpdatedAt.UnixNano(), users[1].UpdatedAt.UnixNano()) // user2 should not be updated var user1, user2 User DB.First(&user1, users[0].ID) DB.First(&user2, users[1].ID) CheckUser(t, user1, *users[0]) CheckUser(t, user2, *users[1])
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/ca/UserCA.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.es.user.cbean.ca; import org.codelibs.fess.es.user.cbean.ca.bs.BsUserCA; /** * @author ESFlute (using FreeGen) */ public class UserCA extends BsUserCA {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 806 bytes - Viewed (0) -
tests/create_test.go
DB.Omit(clause.Associations).Create(&user2) var result2 User DB.Preload(clause.Associations).First(&result2, user2.ID) user2.Account = Account{} user2.Toys = nil user2.Manager = nil user2.Company = Company{} user2.Pets = nil user2.Team = nil user2.Languages = nil user2.Friends = nil CheckUser(t, result2, user2) } func TestFirstOrCreateNotExistsTable(t *testing.T) {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
accessKey, secretKey := mustGenerateCredentials(c) err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } userReq := madmin.PolicyAssociationReq{ Policies: []string{policy}, User: accessKey, } if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil { c.Fatalf("Unable to attach policy: %v", err) }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/bs/BsUserCB.java
*/ package org.codelibs.fess.es.user.cbean.bs; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.codelibs.fess.es.user.allcommon.EsAbstractConditionBean; import org.codelibs.fess.es.user.bsentity.dbmeta.UserDbm; import org.codelibs.fess.es.user.cbean.UserCB; import org.codelibs.fess.es.user.cbean.ca.UserCA; import org.codelibs.fess.es.user.cbean.ca.bs.BsUserCA;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.7K bytes - Viewed (0) -
tests/delete_test.go
} } for _, user := range []User{users[0], users[2]} { result = User{} if err := DB.Where("id = ?", user.ID).First(&result).Error; err != nil { t.Errorf("no error should returns when query %v, but got %v", user.ID, err) } } if err := DB.Delete(&users[0]).Error; err != nil { t.Errorf("errors happened when delete: %v", err) }
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
tests/test_response_model_data_filter.py
user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut]) async def read_pets(): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet1 = PetDB(name="Nibbler", owner=user)
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0) -
schema/relationship_test.go
type User struct { ID int32 `gorm:"primaryKey"` Name string CreatorID *int32 Creator *User } checkStructRelation(t, &User{}, Relation{ Name: "Creator", Type: schema.BelongsTo, Schema: "User", FieldSchema: "User", References: []Reference{{"ID", "User", "CreatorID", "User", "", false}}, }) } func TestSelfReferentialBelongsToOverrideReferences(t *testing.T) { type User struct {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
tests/test_route_scope.py
client = TestClient(app) def test_get(): response = client.get("/users/rick") assert response.status_code == 200, response.text assert response.json() == {"user_id": "rick", "path": "/users/{user_id}"} def test_invalid_method_doesnt_match(): response = client.post("/users/rick") assert response.status_code == 405, response.text def test_invalid_path_doesnt_match():
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Wed Feb 08 10:23:07 UTC 2023 - 1.5K bytes - Viewed (0)