- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 525 for Account (0.18 sec)
-
tests/associations_has_many_test.go
CheckPet(t, pets[0], *user.Pets[0]) if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 { t.Fatalf("should only find one pets, but got %v", count) } if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 { t.Fatalf("should only find no pet with invalid conditions, but got %v", count) } // Count AssertAssociationCount(t, user, "Pets", 2, "")
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 15.6K bytes - Viewed (0) -
tests/upsert_test.go
if err := DB.Where("name = ?", "first_or_create_pet1").First(&Pet{}).Error; err != nil { t.Errorf("has many association should be saved") } if err := DB.Where("number = ?", "1231231231").First(&Account{}).Error; err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Sep 05 07:39:19 GMT 2022 - 11.4K bytes - Viewed (0) -
cni/README.md
- creates service-account `istio-cni` with `ClusterRoleBinding` to allow gets on pods' info and delete/modifications for recovery. - `install-cni` container - copies `istio-cni` and `istio-iptables` to `/opt/cni/bin` - creates kubeconfig for the service account the pod runs under - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
* * @param type2 The Type-2 message which this represents a response to. * @param password The password to use when constructing the response. * @param domain The domain in which the user has an account. * @param user The username for the authenticating user. * @param workstation The workstation from which authentication is * taking place. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
tests/test_security_oauth2_optional_description.py
return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 10.9K bytes - Viewed (0) -
operator/README.md
``` Ensure the created binary is in your PATH to run the examples below. ### Controller (in cluster) Building a custom controller requires a Dockerhub (or similar) account. To build using the container based build: ```bash HUB=docker.io/<your-account> TAG=latest make docker.operator ``` This builds the controller binary and docker file, and pushes the image to the specified hub with the `latest` tag.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Sep 17 08:27:52 GMT 2023 - 17.5K bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
case NtStatus.NT_STATUS_LOGON_FAILURE: case NtStatus.NT_STATUS_ACCOUNT_RESTRICTION: case NtStatus.NT_STATUS_INVALID_LOGON_HOURS: case NtStatus.NT_STATUS_INVALID_WORKSTATION: case NtStatus.NT_STATUS_PASSWORD_EXPIRED: case NtStatus.NT_STATUS_ACCOUNT_DISABLED: case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT: case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE:
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
tests/associations_many2many_test.go
} count := 3 var languages []Language for i := 0; i < count; i++ { language := Language{Code: fmt.Sprintf("consurrent %d", i)} db.Create(&language) languages = append(languages, language) } user := User{} db.Create(&user) db.Preload("Languages").FirstOrCreate(&user) var wg sync.WaitGroup for i := 0; i < count; i++ { wg.Add(1)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 13.2K bytes - Viewed (0) -
tests/transaction_test.go
}); err == nil { t.Errorf("should returns error when commit with closed conn, got error %v", err) } } func TestTransactionWithHooks(t *testing.T) { user := GetUser("tTestTransactionWithHooks", Config{Account: true}) DB.Create(&user) var err error err = DB.Transaction(func(tx *gorm.DB) error { return tx.Model(&User{}).Limit(1).Transaction(func(tx2 *gorm.DB) error { return tx2.Scan(&User{}).Error })
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 10.9K bytes - Viewed (0)