Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /opendatalab_labelU /labelu /internal /application /response /base.py
| from typing import Union | |
| from pydantic import BaseModel | |
| from typing import Generic, TypeVar | |
| DataT = TypeVar("DataT", bound=BaseModel) | |
| class UserResp(BaseModel): | |
| id: Union[int, None] | |
| username: Union[str, None] | |
| class CommonDataResp(BaseModel): | |
| ok: bool | |
| class MetaData(BaseModel): | |
| total: int | |
| page: Union[int, None] | |
| size: int | |
| class OkResp(BaseModel, Generic[DataT]): | |
| data: DataT | |
| class OkRespWithMeta(BaseModel, Generic[DataT]): | |
| meta_data: Union[MetaData, None] = None | |
| data: DataT | |
Xet Storage Details
- Size:
- 525 Bytes
- Xet hash:
- 9fc85c22809c71b78c8fbbdc5745ba8fa6b671503db0f4de5bbc62780873624b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.