Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /opendatalab_labelU /labelu /internal /application /command /task.py
| from typing import List, Union | |
| from pydantic import BaseModel, Field | |
| from labelu.internal.domain.models.task import MediaType | |
| class BasicConfigCommand(BaseModel): | |
| name: str = Field(description="description: task name", max_length=50) | |
| media_type: Union[MediaType, None] = Field( | |
| default=None, description="description: media type of task files" | |
| ) | |
| description: str = Field( | |
| default=None, description="description: task description", max_length=500 | |
| ) | |
| tips: Union[str, None] = Field( | |
| default=None, description="description: task tips", max_length=1000 | |
| ) | |
| class CollaboratorUpdateCommand(BaseModel): | |
| user_id: int = Field(description="description: user id") | |
| class CollaboratorBatchCommand(BaseModel): | |
| user_ids: List[int] = Field(description="description: user ids") | |
| class UpdateCommand(BaseModel): | |
| name: Union[str, None] = Field( | |
| default=None, description="description: task name", max_length=50 | |
| ) | |
| description: Union[str, None] = Field( | |
| default=None, description="description: task description", max_length=500 | |
| ) | |
| tips: Union[str, None] = Field( | |
| default=None, description="description: task tips", max_length=1000 | |
| ) | |
| media_type: Union[MediaType, None] = Field( | |
| default=None, description="description: media type of task files" | |
| ) | |
| config: Union[str, None] = Field( | |
| default=None, description="description: task config content" | |
| ) | |
Xet Storage Details
- Size:
- 1.47 kB
- Xet hash:
- a20e9d2a77a79402eadbe5d3a4ddb23d8487b6d20b4dcfb0801f7d8af9f5b67a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.