- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 110 for user_id (0.04 seconds)
-
docs_src/extra_models/tutorial002_py39.py
full_name: Union[str, None] = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 830 bytes - Click Count (0) -
docs_src/extra_models/tutorial002_py310.py
full_name: str | None = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str): return "supersecret" + raw_password def fake_save_user(user_in: UserIn): hashed_password = fake_password_hasher(user_in.password)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 798 bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
### About `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantic's `.model_dump()` { #pydantics-model-dump } `user_in` is a Pydantic model of class `UserIn`. Pydantic models have a `.model_dump()` method that returns a `dict` with the model's data. So, if we create a Pydantic object `user_in` like: ```Python
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/de/docs/tutorial/extra-models.md
Da wir im obigen Beispiel `user_dict` von `user_in.model_dump()` bekommen haben, wäre dieser Code: ```Python user_dict = user_in.model_dump() UserInDB(**user_dict) ``` gleichwertig zu: ```Python UserInDB(**user_in.model_dump()) ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 8K bytes - Click Count (0) -
docs/ru/docs/tutorial/extra-models.md
/// ### Про `**user_in.dict()` { #about-user-in-dict } #### `.dict()` из Pydantic { #pydantics-dict } `user_in` - это Pydantic-модель класса `UserIn`. У Pydantic-моделей есть метод `.dict()`, который возвращает `dict` с данными модели. Поэтому, если мы создадим Pydantic-объект `user_in` таким способом: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/extra-models.md
/// ### Sobre `**user_in.dict()` { #about-user-in-dict } #### O `.dict()` do Pydantic { #pydantics-dict } `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="******@****.***")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 7.5K bytes - Click Count (0) -
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="******@****.***") ``` 그 다음, 다음과 같이 호출합니다:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 30 13:38:33 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
### `**user_in.dict()` 简介 #### Pydantic 的 `.dict()` `user_in` 是类 `UserIn` 的 Pydantic 模型。 Pydantic 模型支持 `.dict()` 方法,能返回包含模型数据的**字典**。 因此,如果使用如下方式创建 Pydantic 对象 `user_in`: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` 就能以如下方式调用: ```Python user_dict = user_in.dict() ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.7K bytes - Click Count (0) -
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() ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.6K bytes - Click Count (0) -
docs/es/docs/tutorial/extra-models.md
/// ### Acerca de `**user_in.dict()` { #about-user-in-dict } #### `.dict()` de Pydantic { #pydantics-dict } `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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 7.6K bytes - Click Count (0)