Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,595 for uker (0.02 sec)

  1. tests/associations_belongs_to_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestBelongsToAssociation(t *testing.T) {
    	user := *GetUser("belongs-to", Config{Company: true, Manager: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	pointerOfUser := &user2
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. docs_src/body_multiple_params/tutorial002_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User):
        results = {"item_id": item_id, "item": item, "user": user}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 446 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/UserDbm.java

            setupEpg(_epgMap, et -> ((User) et).getState(), (et, vl) -> ((User) et).setState(DfTypeUtil.toString(vl)), "state");
            setupEpg(_epgMap, et -> ((User) et).getStreet(), (et, vl) -> ((User) et).setStreet(DfTypeUtil.toString(vl)), "street");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial003_an_py310.py

        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int, item: Item, user: User, importance: Annotated[int, Body()]
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 550 bytes
    - Viewed (0)
  5. docs/multi-user/admin/README.md

    ```
    
    Create a new admin user `admin1` on MinIO use `mc admin user`.
    
    ```
    mc admin user add myminio admin1 admin123
    ```
    
    Once the user is successfully created you can now apply the `userManage` policy for this user.
    
    ```
    mc admin policy attach myminio userManager --user=admin1
    ```
    
    This admin user will then be allowed to perform create/delete user operations via `mc admin user`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

     */
    package org.codelibs.fess.es.user.bsbhv;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractBehavior;
    import org.codelibs.fess.es.user.allcommon.EsAbstractEntity.RequestOptionCall;
    import org.codelibs.fess.es.user.bsentity.dbmeta.UserDbm;
    import org.codelibs.fess.es.user.cbean.UserCB;
    import org.codelibs.fess.es.user.exentity.User;
    import org.dbflute.Entity;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial004_py310.py

        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 603 bytes
    - Viewed (0)
  8. docs_src/security/tutorial002_an_py39.py

        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: Annotated[User, Depends(get_current_user)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 786 bytes
    - Viewed (0)
  9. docs/iam/opa.md

    minio server /mnt/data
    ```
    
    ### 5. Test with a regular IAM user
    
    Ensure that `mc` is installed and the configured with the above server with the alias `myminio`.
    
    ```sh
    # 1. Create a bucket and a user, and upload a file. These operations will succeed.
    mc mb myminio/test
    mc admin user add myminio foo foobar123
    mc cp /etc/issue myminio/test/
    
    # 2. Now access the server as user `foo`. These operations will also succeed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. tests/associations_has_many_test.go

    )
    
    func TestHasManyAssociation(t *testing.T) {
    	user := *GetUser("hasmany", Config{Pets: 2})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Pets").Find(&user2.Pets)
    	CheckUser(t, user2, user)
    
    	var pets []Pet
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top