반응형

pydantic 레퍼런스 사이트 (FastAPI 모델 관련)

 

https://pydantic-docs.helpmanual.io/usage/models/

 

Models - pydantic

Models The primary means of defining objects in pydantic is via models (models are simply classes which inherit from BaseModel). You can think of models as similar to types in strictly typed languages, or as the requirements of a single endpoint in an API.

pydantic-docs.helpmanual.io

 

반응형

'FastAPI' 카테고리의 다른 글

Pydantic Validators (유효성 검증 기능)  (0) 2021.12.11
Pydantic 에러 처리  (0) 2021.12.11
FastAPI, SQLAlchemy, MySQL 연동 예제  (0) 2021.12.11
FastAPI 기초 예제  (0) 2021.12.08
FastAPI 서버 구축기 (by ssoyyoung )  (0) 2021.12.04

+ Recent posts