- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 396 for pydantic (0.05 sec)
-
.github/DISCUSSION_TEMPLATE/questions.yml
``` validations: required: true - type: input id: pydantic-version attributes: label: Pydantic Version description: | What Pydantic version are you using? You can find the Pydantic version with: ```bash python -c "import pydantic; print(pydantic.version.VERSION)" ``` validations: required: true - type: input
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Aug 03 15:59:41 UTC 2023 - 5.8K bytes - Viewed (0) -
docs/em/docs/tutorial/schema-extra-example.md
# ๐ฃ ๐จ ๐ผ ๐ฝ ๐ ๐ช ๐ฃ ๐ผ ๐ฝ ๐ ๐ฑ ๐ช ๐จ. ๐ฅ ๐ ๐ โซ๏ธ. ## Pydantic `schema_extra` ๐ ๐ช ๐ฃ `example` Pydantic ๐ท โ๏ธ `Config` & `schema_extra`, ๐ฌ <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#customizing-json-schema" class="external-link" target="_blank">Pydantic ๐ฉบ: ๐ ๐</a>: {* ../../docs_src/schema_extra_example/tutorial001.py hl[15:23] *} ๐ โ โน ๐ ๐ฎ-๐ข **๐ป ๐** ๐ ๐ท, & โซ๏ธ ๐ โ๏ธ ๐ ๏ธ ๐ฉบ. /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/em/docs/deployment/versions.md
๐ ๐ซ๐ ๐ซ ๐ โฌ `starlette`. ๐ โฌ **FastAPI** ๐ โ๏ธ ๐ฏ ๐ โฌ ๐. , ๐ ๐ช โก๏ธ **FastAPI** โ๏ธ โ ๐ โฌ. ## ๐ Pydantic Pydantic ๐ ๐ฏ **FastAPI** โฎ๏ธ ๐ฎ ๐ ๐ฏ, ๐ โฌ Pydantic (๐ `1.0.0`) ๐ง ๐ โฎ๏ธ FastAPI. ๐ ๐ช ๐ Pydantic ๐ โฌ ๐ `1.0.0` ๐ ๐ท ๐ & ๐ `2.0.0`. ๐ผ: ```txt pydantic>=1.2.0,<2.0.0
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/cookie-param-models.md
/// ## Pydantic-ะผะพะดะตะปั ะดะปั cookies ะะฑััะฒะธัะต ะฟะฐัะฐะผะตััั **cookie**, ะบะพัะพััะต ะฒะฐะผ ะฝัะถะฝั, ะฒ **Pydantic-ะผะพะดะตะปะธ**, ะฐ ะทะฐัะตะผ ะพะฑััะฒะธัะต ะฟะฐัะฐะผะตัั ะบะฐะบ `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** **ะธะทะฒะปะตััั** ะดะฐะฝะฝัะต ะดะปั **ะบะฐะถะดะพะณะพ ะฟะพะปั** ะธะท **cookies**, ะฟะพะปััะตะฝะฝัั ะฒ ะทะฐะฟัะพัะต, ะธ ะฒัะดะฐัั ะฒะฐะผ ะพะฑััะฒะปะตะฝะฝัั Pydantic-ะผะพะดะตะปั. ## ะัะพะฒะตัะบะฐ ัะณะตะฝะตัะธัะพะฒะฐะฝะฝะพะน ะดะพะบัะผะตะฝัะฐัะธะธ
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 14:14:42 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-models.md
/// info | ์ ๋ณด Pydantic v1์์๋ ํด๋น ๋ฉ์๋๊ฐ `.dict()`๋ก ๋ถ๋ ธ์ผ๋ฉฐ, Pydantic v2์์๋ `.model_dump()`๋ก ์ด๋ฆ์ด ๋ณ๊ฒฝ๋์์ต๋๋ค. `.dict()`๋ ์ฌ์ ํ ์ง์๋์ง๋ง ๋ ์ด์ ๊ถ์ฅ๋์ง ์์ต๋๋ค. ์ฌ๊ธฐ์์ ์ฌ์ฉํ๋ ์์ ๋ Pydantic v1๊ณผ์ ํธํ์ฑ์ ์ํด `.dict()`๋ฅผ ์ฌ์ฉํ์ง๋ง, Pydantic v2๋ฅผ ์ฌ์ฉํ ์ ์๋ค๋ฉด `.model_dump()`๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ์ข์ต๋๋ค. /// ### `**user_in.dict()` ์ ๋ํ์ฌ #### Pydantic์ `.dict()` `user_in`์ Pydantic ๋ชจ๋ธ ํด๋์ค์ธ `UserIn`์ ๋๋ค. Pydantic ๋ชจ๋ธ์ ๋ชจ๋ธ ๋ฐ์ดํฐ๋ฅผ ํฌํจํ `dict`๋ฅผ ๋ฐํํ๋ `.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) -
docs/ko/docs/tutorial/extra-data-types.md
* ์์ฑ๋ ์คํค๋ง๋ ์ด๊ฒ์ด `binary` "ํ์"์ `str`์์ ๋ช ์ํฉ๋๋ค. * `Decimal`: * ํ์ค ํ์ด์ฌ์ `Decimal`. * ์์ฒญ๊ณผ ์๋ต์์ `float`์ ๋์ผํ๊ฒ ๋ค๋ค์ง๋๋ค. * ์ฌ๊ธฐ์์ ๋ชจ๋ ์ ํจํ pydantic ๋ฐ์ดํฐ ์๋ฃํ์ ํ์ธํ ์ ์์ต๋๋ค: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic ๋ฐ์ดํฐ ์๋ฃํ</a>. ## ์์ ์์ ๋ช๋ช ์๋ฃํ์ ๋งค๊ฐ๋ณ์๋ก ์ฌ์ฉํ๋ *๊ฒฝ๋ก ์๋* ์์์ ๋๋ค. {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
* ๐จ & ๐จ ๐ ๐ฅ `str`. * ๐ ๐ ๐ โ ๐ โซ๏ธ `str` โฎ๏ธ `binary` "๐". * `Decimal`: * ๐ฉ ๐ `Decimal`. * ๐จ & ๐จ, ๐ต ๐ `float`. * ๐ ๐ช โ ๐ โ Pydantic ๐ ๐ ๐ฅ: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic ๐ ๐</a>. ## ๐ผ ๐ฅ ๐ผ *โก ๐ ๏ธ* โฎ๏ธ ๐ข โ๏ธ ๐ ๐. {* ../../docs_src/extra_data_types/tutorial001.py hl[1,3,12:16] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/es/docs/tutorial/security/get-current-user.md
Pero eso aรบn no es tan รบtil. Vamos a hacer que nos dรฉ el usuario actual. ## Crear un modelo de usuario Primero, vamos a crear un modelo de usuario con Pydantic. De la misma manera que usamos Pydantic para declarar cuerpos, podemos usarlo en cualquier otra parte: {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *} ## Crear una dependencia `get_current_user`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Da mesma forma, este banco de dados nรฃo receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`. Vocรช pode usar a funรงรฃo `jsonable_encoder` para resolver isso. A funรงรฃo recebe um objeto, como um modelo Pydantic e retorna uma versรฃo compatรญvel com JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0)