본문 바로가기

The Boxer

검색하기
The Boxer
프로필사진 Prower

  • 분류 전체보기 (67)
    • Django (5)
    • Git (4)
    • Java (6)
    • Data Structure (1)
    • Computer Science (20)
      • Software Engineering (3)
      • Serialization (1)
      • Computer Architecture (0)
      • Network (9)
      • Database (1)
      • Operating System (4)
    • Development (2)
    • Python (9)
    • Storage (9)
      • Druid (6)
      • DynamoDB (2)
    • Fastapi (2)
    • Devops (6)
    • 용어정리 (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/11   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Tags
  • dynamodb
  • java
  • pydnatic
  • TEST
  • Druid
  • Python
  • FastAPI
  • serverless
  • cloudwatch
  • AWS
  • CallBack
  • Cloud
  • pydantic
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록pydantic (1)

The Boxer

pydantic

python에서 사용하는 data parsing and validation 라이브러리 parsing과 validation을 담당한다고 적었는데 pydantic이 data를 어떻게 parsing하고 validation 하는지 확인해보자. 작동 순서 정상 파싱이 가능한 경우 from datetime import datetime from typing import List, Tuple from pydantic import BaseModel ​ ​ class Bar(BaseModel): id: int name: str ​ ​ class Foo(BaseModel): id: int name: str numbers: List[int] tup: Tuple[str, int] bar: Bar ​ ​ template = { ..

Python 2022. 7. 7. 02:11
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바