- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 765 for Pydantics (0.32 sec)
-
docs/de/docs/tutorial/extra-models.md
``` !!! info In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt. Die Beispiele hier verwenden `.dict()` für die Kompatibilität mit Pydantic v1, Sie sollten jedoch stattdessen `.model_dump()` verwenden, wenn Sie Pydantic v2 verwenden können. ### Über `**user_in.dict()` #### Pydantic's `.dict()`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:26:47 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
It improves editor support for Pydantic models, with: * auto-completion * type checks * refactoring * searching * inspections ## Use the model
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
# ~~NoSQL (Distributed / Big Data) Databases with Couchbase~~ (deprecated) !!! info These docs are about to be updated. 🎉 The current version assumes Pydantic v1. The new docs will hopefully use Pydantic v2 and will use <a href="https://art049.github.io/odmantic/" class="external-link" target="_blank">ODMantic</a> with MongoDB. !!! warning "Deprecated" This tutorial is deprecated and will be removed in a future version.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 6K bytes - Viewed (0) -
docs/ko/docs/tutorial/body.md
!!! tip "팁" 만약 <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>를 편집기로 사용한다면, <a href="https://github.com/koxudaxi/pydantic-pycharm-plugin/" class="external-link" target="_blank">Pydantic PyCharm Plugin</a>을 사용할 수 있습니다. 다음 사항을 포함해 Pydantic 모델에 대한 편집기 지원을 향상시킵니다: * 자동 완성 * 타입 확인 * 리팩토링 * 검색 * 점검 ## 모델 사용하기 함수 안에서 모델 객체의 모든 어트리뷰트에 직접 접근 가능합니다:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
```Python hl_lines="10" {!../../../docs_src/security/tutorial001.py!} ``` 그러나 아직도 유용하지 않습니다. 현재 사용자를 제공하도록 합시다. ## 유저 모델 생성하기 먼저 Pydantic 유저 모델을 만들어 보겠습니다. Pydantic을 사용하여 본문을 선언하는 것과 같은 방식으로 다른 곳에서 사용할 수 있습니다. === "파이썬 3.7 이상" ```Python hl_lines="5 12-16" {!> ../../../docs_src/security/tutorial002.py!} ``` === "파이썬 3.10 이상"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/schema-extra-example.md
`"json_schema_extra"`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다. === "Pydantic v1"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Feb 09 12:35:46 UTC 2024 - 13.6K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 29.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
These are technical details that you might skip if it's not important for you now. `RequestValidationError` is a sub-class of Pydantic's <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>. **FastAPI** uses it so that, if you use a Pydantic model in `response_model`, and your data has an error, you will see the error in your log.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/ko/docs/index.md
![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## 예제 심화 이제 `PUT` 요청에 있는 본문(Body)을 받기 위해 `main.py`를 수정해봅시다. Pydantic을 이용해 파이썬 표준 타입으로 본문을 선언합니다. ```Python hl_lines="4 9 10 11 12 25 26 27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 29 05:18:04 UTC 2024 - 19.5K bytes - Viewed (0)