Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for UserIn (0.04 sec)

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

    ///
    
    ### Acerca de `**user_in.dict()`
    
    #### `.dict()` de Pydantic
    
    `user_in` es un modelo Pydantic de la clase `UserIn`.
    
    Los modelos Pydantic tienen un método `.dict()` que devuelve un `dict` con los datos del modelo.
    
    Así que, si creamos un objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    y luego llamamos a:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/extra-models.md

    ### 🔃 `**user_in.dict()`
    
    #### Pydantic `.dict()`
    
    `user_in` Pydantic 🏷 🎓 `UserIn`.
    
    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
    - 5.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    #### Pydantic's `.dict()` { #pydantics-dict }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/extra-models.md

    ### Sobre `**user_in.dict()`
    
    #### O `.dict()` do Pydantic
    
    `user_in` é um modelo Pydantic da classe `UserIn`.
    
    Os modelos Pydantic possuem um método `.dict()` que retorna um `dict` com os dados do modelo.
    
    Então, se criarmos um objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    e depois chamarmos:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/extra-models.md

    ///
    
    ### Über `**user_in.dict()`
    
    #### Pydantic's `.dict()`
    
    `user_in` ist ein Pydantic-Modell der Klasse `UserIn`.
    
    Pydantic-Modelle haben eine `.dict()`-Methode, die ein `dict` mit den Daten des Modells zurückgibt.
    
    Wenn wir also ein Pydantic-Objekt `user_in` erstellen, etwa so:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    und wir rufen seine `.dict()`-Methode auf:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/extra-models.md

    ///
    
    ### `**user_in.dict()` 에 대하여
    
    #### Pydantic의 `.dict()`
    
    `user_in`은 Pydantic 모델 클래스인 `UserIn`입니다.
    
    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: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. 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)
  8. docs/ko/docs/tutorial/response-model.md

    /// note | 기술 세부사항
    
    응답 모델은 함수의 타입 어노테이션 대신 이 매개변수로 선언하는데, 경로 함수가 실제 응답 모델을 반환하지 않고 `dict`, 데이터베이스 객체나 기타 다른 모델을 `response_model`을 사용하여 필드 제한과 직렬화를 수행하고 반환할 수 있기 때문입니다
    
    ///
    
    ## 동일한 입력 데이터 반환
    
    여기서 우리는 평문 비밀번호를 포함하는 `UserIn` 모델을 선언합니다:
    
    {* ../../docs_src/response_model/tutorial002.py hl[9,11] *}
    
    그리고 이 모델을 사용하여 입력을 선언하고 같은 모델로 출력을 선언합니다:
    
    {* ../../docs_src/response_model/tutorial002.py hl[17:18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/response-model.md

    /// note | 技術詳細
    
    レスポンスモデルは、関数の戻り値のアノテーションではなく、このパラメータで宣言されています。なぜなら、パス関数は実際にはそのレスポンスモデルを返すのではなく、`dict`やデータベースオブジェクト、あるいは他のモデルを返し、`response_model`を使用してフィールドの制限やシリアライズを行うからです。
    
    ///
    
    ## 同じ入力データの返却
    
    ここでは`UserIn`モデルを宣言しています。それには平文のパスワードが含まれています:
    
    {* ../../docs_src/response_model/tutorial002.py hl[9,11] *}
    
    そして、このモデルを使用して入力を宣言し、同じモデルを使って出力を宣言しています:
    
    {* ../../docs_src/response_model/tutorial002.py hl[17,18] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. cmd/sftp-server_test.go

    }`)
    
    	err := s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	{
    		userDN := "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    		userReq := madmin.PolicyAssociationReq{
    			Policies: []string{policy},
    			User:     userDN,
    		}
    		if _, err := s.adm.AttachPolicyLDAP(ctx, userReq); err != nil {
    			c.Fatalf("Unable to attach policy: %v", err)
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top