Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /iamumarjaved_FastGenAPI /src /models /pydanticModels.py
| from pydantic import BaseModel | |
| # Pydantic model for Item | |
| class ItemModel(BaseModel): | |
| name: str | |
| owner_id: int | |
| class Config: | |
| from_attributes = True | |
| # Pydantic model for User | |
| class UserModel(BaseModel): | |
| email: str | |
| items: list[ItemModel] = [] | |
| class Config: | |
| from_attributes = True | |
Xet Storage Details
- Size:
- 320 Bytes
- Xet hash:
- 74b2b5a63fbe39d6c6f8751033c3e689fb08623d84204f1f248f84c097eca194
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.