Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 208 for userid (0.04 sec)

  1. docs/ru/docs/tutorial/extra-models.md

    ### Про `**user_in.dict()`
    
    #### `.dict()` из Pydantic
    
    `user_in` - это Pydantic-модель класса `UserIn`.
    
    У Pydantic-моделей есть метод `.dict()`, который возвращает `dict` с данными модели.
    
    Поэтому, если мы создадим Pydantic-объект `user_in` таким способом:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/extra-models.md

    Da wir in obigem Beispiel `user_dict` mittels `user_in.dict()` erzeugt haben, ist dieser Code:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    äquivalent zu:
    
    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ... weil `user_in.dict()` ein `dict` ist, und dann lassen wir Python es „entpacken“, indem wir es `UserInDB` übergeben, mit vorangestelltem `**`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/extra-models.md

    )
    ```
    
    #### 다른 모델 데이터로 새 Pydantic 모델 생성
    
    위의 예제에서 `user_in.dict()`로부터 `user_dict`를 생성한 것처럼, 아래 코드는:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    다음과 동일합니다:
    
    ```Python
    UserInDB(**user_in.dict())
    ```
    
    ...왜냐하면 `user_in.dict()`는 `dict`이며, 이를 `**`로 Python이 "언팩(unpack)"하도록 하여 `UserInDB`에 전달하기 때문입니다.
    
    따라서, 다른 Pydantic 모델의 데이터를 사용하여 새로운 Pydantic 모델을 생성할 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/extra-models.md

    ### `**user_in.dict()`について
    
    #### Pydanticの`.dict()`
    
    `user_in`は`UserIn`クラスのPydanticモデルです。
    
    Pydanticモデルには、モデルのデータを含む`dict`を返す`.dict()`メソッドがあります。
    
    そこで、以下のようなPydanticオブジェクト`user_in`を作成すると:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    そして呼び出すと:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. tests/tests_all.sh

        go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest || true
        for query in \
          "IF DB_ID('gorm') IS NULL CREATE DATABASE gorm" \
          "IF SUSER_ID (N'gorm') IS NULL CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';" \
          "IF USER_ID (N'gorm') IS NULL CREATE USER gorm FROM LOGIN gorm; ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];"
        do
          SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 -Q "$query" > /dev/null || true
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    `BaseUser` has the base fields. Then `UserIn` inherits from `BaseUser` and adds the `password` field, so, it will include all the fields from both models.
    
    We annotate the function return type as `BaseUser`, but we are actually returning a `UserIn` instance.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/response-model.md

    `BaseUser` tem os campos base. Então `UserIn` herda de `BaseUser` e adiciona o campo `password`, então, ele incluirá todos os campos de ambos os modelos.
    
    Anotamos o tipo de retorno da função como `BaseUser`, mas na verdade estamos retornando uma instância `UserIn`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:51:05 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Handles user authentication setup and database persistence.
         * If the surname is blank, it will be set to the user's name.
         *
         * @param user the user entity to store
         */
        public void store(final User user) {
            if (StringUtil.isBlank(user.getSurname())) {
                user.setSurname(user.getName());
            }
    
            ComponentUtil.getAuthenticationManager().insert(user);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. chainable_api.go

    }
    
    // Limit specify the number of records to be retrieved
    //
    // Limit conditions can be cancelled by using `Limit(-1)`.
    //
    //	// retrieve 3 users
    //	db.Limit(3).Find(&users)
    //	// retrieve 3 users into users1, and all users into users2
    //	db.Limit(3).Find(&users1).Limit(-1).Find(&users2)
    func (db *DB) Limit(limit int) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.AddClause(clause.Limit{Limit: &limit})
    	return
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. clause/joins_test.go

    			sql: "INNER JOIN `user` ON `user_info`.`user_id` = `users`.`id`",
    		},
    		{
    			name: "CROSS JOIN",
    			join: clause.Join{
    				Type:  clause.CrossJoin,
    				Table: clause.Table{Name: "user"},
    				ON: clause.Where{
    					Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}},
    				},
    			},
    			sql: "CROSS JOIN `user` ON `user_info`.`user_id` = `users`.`id`",
    		},
    		{
    			name: "USING",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top