- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 336 for Extra (0.01 sec)
-
docs/es/docs/tutorial/extra-models.md
# Modelos Extra { #extra-models } Continuando con el ejemplo anterior, será común tener más de un modelo relacionado. Esto es especialmente el caso para los modelos de usuario, porque: * El **modelo de entrada** necesita poder tener una contraseña. * El **modelo de salida** no debería tener una contraseña. * El **modelo de base de datos** probablemente necesitaría tener una contraseña hasheada. /// danger | PeligroRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
So, we get a Pydantic model from the data in another Pydantic model. #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords } And then adding the extra keyword argument `hashed_password=hashed_password`, like in: ```Python UserInDB(**user_in.model_dump(), hashed_password=hashed_password) ``` ...ends up being like:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
Sebastián Ramírez <******@****.***> 1731896744 +0100
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
Here are several ways to do it. ## Extra JSON Schema data in Pydantic models { #extra-json-schema-data-in-pydantic-models } You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema. {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
Então, obtemos um modelo Pydantic a partir dos dados em outro modelo Pydantic. #### Desembrulhando um `dict` e palavras-chave extras { #unpacking-a-dict-and-extra-keywords } E, então, adicionando o argumento de palavra-chave extra `hashed_password=hashed_password`, como em: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` ...acaba sendo como: ```Python UserInDB(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 7.5K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-data-types.md
# Zusätzliche Datentypen { #extra-data-types } Bisher haben Sie gängige Datentypen verwendet, wie zum Beispiel: * `int` * `float` * `str` * `bool` Sie können aber auch komplexere Datentypen verwenden. Und Sie haben immer noch dieselbe Funktionalität wie bisher gesehen: * Großartige Editor-Unterstützung. * Datenkonvertierung bei eingehenden <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Requests</abbr>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
# Extramodelle { #extra-models } Im Anschluss an das vorherige Beispiel ist es üblich, mehr als ein zusammenhängendes Modell zu haben. Dies gilt insbesondere für Benutzermodelle, denn: * Das **Eingabemodell** muss ein Passwort enthalten können. * Das **Ausgabemodell** sollte kein Passwort haben. * Das **Datenbankmodell** müsste wahrscheinlich ein gehashtes Passwort haben. /// danger | GefahrRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 8K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
# Дополнительные модели { #extra-models } В продолжение прошлого примера будет уже обычным делом иметь несколько связанных между собой моделей. Это особенно применимо в случае моделей пользователя, потому что: * **Модель для ввода** должна иметь возможность содержать пароль. * **Модель для вывода** не должна содержать пароль. * **Модель для базы данных**, возможно, должна содержать хэшированный пароль. /// danger | ВниманиеRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
Вы можете объявлять примеры данных, которые ваше приложение может получать. Вот несколько способов, как это сделать. ## Дополнительные данные JSON Schema в моделях Pydantic { #extra-json-schema-data-in-pydantic-models } Вы можете объявить `examples` для модели Pydantic, которые будут добавлены в сгенерированную JSON Schema. //// tab | Pydantic v2Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 14.8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
# Extra Data Types { #extra-data-types } Up to now, you have been using common data types, like: * `int` * `float` * `str` * `bool` But you can also use more complex data types. And you will still have the same features as seen up to now: * Great editor support. * Data conversion from incoming requests. * Data conversion for response data. * Data validation. * Automatic annotation and documentation.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0)