- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 849 for Pydantic (0.38 sec)
-
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K 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>: //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="15-23" {!> ../../docs_src/schema_extra_example/tutorial001.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K 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>. ## ๐ผ ๐ฅ ๐ผ *โก ๐ ๏ธ* โฎ๏ธ ๐ข โ๏ธ ๐ ๐. //// tab | ๐ 3๏ธโฃ.6๏ธโฃ & ๐ ```Python hl_lines="1 3 12-16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/es/docs/python-types.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
tests/test_forms_single_model.py
from typing import List, Optional from dirty_equals import IsDict from fastapi import FastAPI, Form from fastapi.testclient import TestClient from pydantic import BaseModel, Field from typing_extensions import Annotated app = FastAPI() class FormModel(BaseModel): username: str lastname: str age: Optional[int] = None tags: List[str] = ["foo", "bar"] alias_with: str = Field(alias="with", default="nothing")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 13 09:51:00 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
``` /// tip | "ํ" JSON์ ์ค์ง `str`ํ ํค๋ง ์ง์ํ๋ค๋ ๊ฒ์ ์ผ๋์ ๋์ธ์. ํ์ง๋ง Pydantic์ ์๋ ๋ฐ์ดํฐ ๋ณํ์ด ์์ต๋๋ค. ์ฆ, API ํด๋ผ์ด์ธํธ๊ฐ ๋ฌธ์์ด์ ํค๋ก ๋ณด๋ด๋๋ผ๋ ํด๋น ๋ฌธ์์ด์ด ์์ํ ์ ์๋ฅผ ํฌํจํ๋ํ Pydantic์ ์ด๋ฅผ ๋ณํํ๊ณ ๊ฒ์ฆํฉ๋๋ค. ๊ทธ๋ฌ๋ฏ๋ก `weights`๋ก ๋ฐ์ `dict`๋ ์ค์ ๋ก `int` ํค์ `float` ๊ฐ์ ๊ฐ์ง๋๋ค. /// ## ์์ฝ **FastAPI**๋ฅผ ์ฌ์ฉํ๋ฉด Pydantic ๋ชจ๋ธ์ด ์ ๊ณตํ๋ ์ต๋ ์ ์ฐ์ฑ์ ํ๋ณดํ๋ฉด์ ์ฝ๋๋ฅผ ๊ฐ๋จํ๊ณ ์งง๊ฒ, ๊ทธ๋ฆฌ๊ณ ์ฐ์ํ๊ฒ ์ ์งํ ์ ์์ต๋๋ค. ๋ฌผ๋ก ์๋์ ์ด์ ๋ ์์ต๋๋ค: * ํธ์ง๊ธฐ ์ง์ (์๋์์ฑ์ด ์ด๋์๋!)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
tests/utils.py
needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 422 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.6K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 6.9K bytes - Viewed (0)