Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for Pydantics (0.25 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

    Um alle Optionen kennenzulernen, die Sie haben, schauen Sie sich <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantics Typübersicht</a> an. Sie werden im nächsten Kapitel ein paar Beispiele kennenlernen.
    
    Da wir zum Beispiel im `Image`-Modell ein Feld `url` haben, können wir deklarieren, dass das eine Instanz von Pydantics `HttpUrl` sein soll, anstelle eines `str`:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/de/docs/features.md

    * 100 % Testabdeckung.
    * 100 % Typen annotierte Codebasis.
    
    ## Pydantic's Merkmale
    
    **FastAPI** ist vollkommen kompatibel (und basiert auf) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Das bedeutet, wenn Sie eigenen Pydantic Quellcode haben, funktioniert der.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 19:43:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/handling-errors.md

    `RequestValidationError` ist eine Unterklasse von Pydantics <a href="https://pydantic-docs.helpmanual.io/usage/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    **FastAPI** verwendet diesen, sodass Sie, wenn Sie ein Pydantic-Modell für `response_model` verwenden, und ihre Daten fehlerhaft sind, einen Fehler in ihrem Log sehen.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:28:29 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. docs/ko/docs/features.md

    * **CORS**, GZip, 정적 파일, 스트리밍 응답.
    * **세션과 쿠키** 지원.
    * 100% 테스트 범위.
    * 100% 타입이 명시된 코드 베이스.
    
    ## Pydantic 기능
    
    **FastAPI**는 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>을 기반으로 하며 Pydantic과 완벽하게 호환됩니다. 그래서 어느 추가적인 Pydantic 코드를 여러분이 가지고 있든 작동할 것입니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. fastapi/encoders.py

    from uuid import UUID
    
    from fastapi.types import IncEx
    from pydantic import BaseModel
    from pydantic.color import Color
    from pydantic.networks import AnyUrl, NameEmail
    from pydantic.types import SecretBytes, SecretStr
    from typing_extensions import Annotated, Doc
    
    from ._compat import PYDANTIC_V2, UndefinedType, Url, _model_dump
    
    
    # Taken from Pydantic v1 as is
    def isoformat(o: Union[datetime.date, datetime.time]) -> str:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    === "Pydantic v2"
    
        In Pydantic version 2, you would use the attribute `model_config`, that takes a `dict` as described in <a href="https://docs.pydantic.dev/latest/usage/model_config/" class="external-link" target="_blank">Pydantic's docs: Model Config</a>.
    
        You can set `"json_schema_extra"` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    === "Pydantic v1"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. docs/en/docs/tutorial/sql-databases.md

        ```
    
    !!! tip
        Notice that the `User`, the Pydantic *model* that will be used when reading a user (returning it from the API) doesn't include the `password`.
    
    ### Use Pydantic's `orm_mode`
    
    Now, in the Pydantic *models* for reading, `Item` and `User`, add an internal `Config` class.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. docs/ko/docs/python-types.md

    그리고 결과 객체에 대해서는 에디터의 도움을 받을 수 있게 됩니다.
    
    Pydantic 공식 문서 예시:
    
    ```Python
    {!../../../docs_src/python_types/tutorial011.py!}
    ```
    
    !!! info "정보"
        Pydantic<에 대해 더 배우고 싶다면 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">공식 문서</a>를 참고하세요.</a>
    
    
    **FastAPI**는 모두 Pydantic을 기반으로 되어 있습니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. 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)
Back to top