Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /opendatalab_labelU /labelu /internal /application /command /attachment.py
| from typing import Annotated, List | |
| from pydantic import BaseModel, Field | |
| from fastapi import UploadFile, File | |
| class AttachmentCommand(BaseModel): | |
| file: UploadFile = File() | |
| class AttachmentDeleteCommand(BaseModel): | |
| attachment_ids: List[Annotated[int, Field(gt=0)]] = Field( | |
| min_length=1, | |
| description="description: attachment file id", | |
| ) | |
Xet Storage Details
- Size:
- 367 Bytes
- Xet hash:
- 4bec25026169e03baf201f33a385f9a85cdfe07761f645a4a0f317d266035e5d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.