반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- CANARY
- Pulumi
- xdp
- keda
- serving
- 카오스 엔지니어링
- operator
- Litmus
- opentelemetry
- CI/CD
- Kubernetes
- MLflow
- blue/green
- gitops
- eBPF
- Continuous Deployment
- 오퍼레이터
- tekton
- argocd
- Argo
- nginx ingress
- opensearch
- seldon core
- Model Serving
- Kubernetes 인증
- Kopf
- Kubeflow
- mlops
- knative
- kubernetes operator
Archives
- Today
- Total
목록fastapi 모범사례 (1)
Kubernetes 이야기

Pydantic을 사용하여 데이터 유효성 검사 from enum import Enum from pydantic import AnyUrl, BaseModel, EmailStr, Field, constr class MusicBand(str, Enum): AEROSMITH = "AEROSMITH" QUEEN = "QUEEN" ACDC = "AC/DC" class UserBase(BaseModel): first_name: str = Field(min_length=1, max_length=128) username: constr(regex="^[A-Za-z0-9-_]+$", to_lower=True, strip_whitespace=True) email: EmailStr age: int = Field(ge=18, d..
개발/python
2023. 1. 22. 22:27