Buckets:
| from pydantic import BaseModel, ConfigDict | |
| from pydantic.alias_generators import to_camel, to_snake | |
| from typing import Optional | |
| class OutDTO(BaseModel): | |
| model_config = ConfigDict( | |
| alias_generator=to_camel, | |
| populate_by_name=True, | |
| ) | |
| class InDTO(BaseModel): | |
| model_config = ConfigDict( | |
| alias_generator=to_camel, | |
| populate_by_name=True, | |
| ) | |
| class ErrorResponse(OutDTO): | |
| error: str | |
| detail: Optional[str] = None | |
Xet Storage Details
- Size:
- 464 Bytes
- Xet hash:
- 4e6f49835d524ed8f5904ac00df193815b8205981accf2ad81032fb462c210f3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.