- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for BaseModel (0.1 sec)
-
docs/em/docs/features.md
๐ โ ๐ฉ ๐ โฎ๏ธ ๐: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` ๐ ๐ช โคด๏ธ โ๏ธ ๐: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8K bytes - Viewed (0) -
docs/ko/docs/features.md
์ฌ๋ฌ๋ถ์ ํ์ ์ ์ด์ฉํ ํ์ค ํ์ด์ฌ์ ๋ค์๊ณผ ๊ฐ์ด ์ ์ ์ ์์ต๋๋ค: ```Python from datetime import date from pydantic import BaseModel # ๋ณ์๋ฅผ str๋ก ์ ์ธ # ๊ทธ ํ ํจ์ ์์์ ํธ์ง๊ธฐ ์ง์์ ๋ฐ์ผ์ธ์ def main(user_id: str): return user_id # Pydantic ๋ชจ๋ธ class User(BaseModel): id: int name: str joined: date ``` ์์ ์ฝ๋๋ ๋ค์๊ณผ ๊ฐ์ด ์ฌ์ฉ๋ ์ ์์ต๋๋ค: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/de/docs/index.md
Deklarieren Sie den Body mithilfe von Standard-Python-Typen, dank Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.1K bytes - Viewed (0) -
docs/it/docs/index.md
Dichiara il _body_ usando le annotazioni di tipo standard di Python, grazie a Pydantic. ```Python hl_lines="2 7-10 23-25" from fastapi import FastAPI from pydantic import BaseModel from typing import Optional app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = Optional[None] @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.5K bytes - Viewed (0) -
docs/nl/docs/features.md
Je schrijft gewoon standaard Python met types: ```Python from datetime import date from pydantic import BaseModel # Declareer een variabele als een str # en krijg editorondersteuning in de functie def main(user_id: str): return user_id # Een Pydantic model class User(BaseModel): id: int name: str joined: date ``` Vervolgens kan je het op deze manier gebruiken: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Sep 03 13:50:38 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/ja/docs/features.md
ๅใไฝฟ็จใใๆจๆบ็ใชPythonใ่จ่ฟฐใใพใ: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` ใใใฏไปฅไธใฎใใใซ็จใใใใพใ: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/ru/docs/index.md
ะะฑััะฒะธัะต ัะตะปะพ, ะธัะฟะพะปัะทัั ััะฐะฝะดะฐััะฝัั ัะธะฟะธะทะฐัะธั Python, ัะฟะฐัะธะฑะพ Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 25.8K bytes - Viewed (0) -
docs/id/docs/index.md
Deklarasikan struktur menggunakan tipe standar Python, berkat Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/az/docs/index.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 22.7K bytes - Viewed (0) -
docs/ja/docs/index.md
`PUT`ใชใฏใจในใใใใใใฃใๅใๅใใใใซ`main.py`ใไฟฎๆญฃใใพใใใใ Pydantic ใซใใฃใฆใPython ใฎๆจๆบ็ใชๅใไฝฟใฃใฆใใใฃใๅฎฃ่จใใพใใ ```Python hl_lines="2 7 8 9 10 23 24 25" from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.3K bytes - Viewed (0)