- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for src (0.16 sec)
-
docs/uk/docs/tutorial/body.md
Спочатку вам потрібно імпортувати `BaseModel` з `pydantic`: === "Python 3.8 і вище" ```Python hl_lines="4" {!> ../../../docs_src/body/tutorial001.py!} ``` === "Python 3.10 і вище" ```Python hl_lines="2" {!> ../../../docs_src/body/tutorial001_py310.py!} ``` ## Створіть свою модель даних Потім ви оголошуєте свою модель даних як клас, який успадковується від `BaseModel`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/body.md
<img src="/img/tutorial/body/image01.png"> 이를 필요로 하는 각각의 *경로 작동*내부의 API 문서에도 사용됩니다: <img src="/img/tutorial/body/image02.png"> ## 편집기 지원 편집기에서, 함수 내에서 타입 힌트와 완성을 어디서나 (만약 Pydantic model 대신에 `dict`을 받을 경우 나타나지 않을 수 있습니다) 받을 수 있습니다: <img src="/img/tutorial/body/image03.png"> 잘못된 타입 연산에 대한 에러 확인도 받을 수 있습니다: <img src="/img/tutorial/body/image04.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.7K bytes - Viewed (0) -
docs/fr/docs/tutorial/body.md
```Python hl_lines="4" {!../../../docs_src/body/tutorial001.py!} ``` ## Créez votre modèle de données Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`. Utilisez les types Python standard pour tous les attributs : ```Python hl_lines="7-11" {!../../../docs_src/body/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/body.md
モデルのJSONスキーマはOpenAPIで生成されたスキーマの一部になり、対話的なAPIドキュメントに表示されます: <img src="/img/tutorial/body/image01.png"> そして、それらが使われる *パスオペレーション* のそれぞれのAPIドキュメントにも表示されます: <img src="/img/tutorial/body/image02.png"> ## エディターサポート エディターによる型ヒントと補完が関数内で利用できます (Pydanticモデルではなく `dict` を受け取ると、同じサポートは受けられません): <img src="/img/tutorial/body/image03.png"> 型によるエラーチェックも可能です: <img src="/img/tutorial/body/image04.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
Zuerst müssen Sie `BaseModel` von `pydantic` importieren: === "Python 3.10+" ```Python hl_lines="2" {!> ../../../docs_src/body/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="4" {!> ../../../docs_src/body/tutorial001.py!} ``` ## Erstellen Sie Ihr Datenmodell Dann deklarieren Sie Ihr Datenmodell als eine Klasse, die von `BaseModel` erbt.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
First, you need to import `BaseModel` from `pydantic`: === "Python 3.10+" ```Python hl_lines="2" {!> ../../../docs_src/body/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="4" {!> ../../../docs_src/body/tutorial001.py!} ``` ## Create your data model Then you declare your data model as a class that inherits from `BaseModel`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/body.md
## API 文档 Pydantic 模型的 JSON 概图是 OpenAPI 生成的概图部件,可在 API 文档中显示: <img src="/img/tutorial/body/image01.png"> 而且,还会用于 API 文档中使用了概图的*路径操作*: <img src="/img/tutorial/body/image02.png"> ## 编辑器支持 在编辑器中,函数内部均可使用类型提示、代码补全(如果接收的不是 Pydantic 模型,而是**字典**,就没有这样的支持): <img src="/img/tutorial/body/image03.png"> 还支持检查错误的类型操作: <img src="/img/tutorial/body/image04.png"> 这并非偶然,整个 **FastAPI** 框架都是围绕这种思路精心设计的。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.5K bytes - Viewed (0) -
docs/em/docs/tutorial/body.md
<img src="/img/tutorial/body/image01.png"> & 🔜 ⚙️ 🛠️ 🩺 🔘 🔠 *➡ 🛠️* 👈 💪 👫: <img src="/img/tutorial/body/image02.png"> ## 👨🎨 🐕🦺 👆 👨🎨, 🔘 👆 🔢 👆 🔜 🤚 🆎 🔑 & 🛠️ 🌐 (👉 🚫🔜 🔨 🚥 👆 📨 `dict` ↩️ Pydantic 🏷): <img src="/img/tutorial/body/image03.png"> 👆 🤚 ❌ ✅ ❌ 🆎 🛠️: <img src="/img/tutorial/body/image04.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/body.md
```Python hl_lines="4" {!../../../docs_src/body/tutorial001.py!} ``` ## Создание вашей собственной модели После этого вы описываете вашу модель данных как класс, наследующий от `BaseModel`. Используйте аннотации типов Python для всех атрибутов: ```Python hl_lines="7-11" {!../../../docs_src/body/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/body.md
Primeiro, você precisa importar `BaseModel` do `pydantic`: ```Python hl_lines="4" {!../../../docs_src/body/tutorial001.py!} ``` ## Crie seu modelo de dados Então você declara seu modelo de dados como uma classe que herda `BaseModel`. Utilize os tipos Python padrão para todos os atributos: ```Python hl_lines="7-11" {!../../../docs_src/body/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.1K bytes - Viewed (0)