Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /Clinical-Genomics_statina /statina /models /query_params.py
| from typing import Optional, Literal | |
| from pydantic import BaseModel | |
| from statina.constants import sample_sort_keys | |
| class ListQuery(BaseModel): | |
| page_size: Optional[int] = 5 | |
| page_num: Optional[int] = 0 | |
| sort_direction: Optional[Literal["ascend", "descend"]] = "descend" | |
| query_string: Optional[str] = "" | |
| sort_key: Optional[sample_sort_keys] = "" | |
| class BatchesQuery(ListQuery): | |
| sort_key: Optional[Literal["batch_id", "SequencingDate", "Flowcell", "comment"]] = ( | |
| "SequencingDate" | |
| ) | |
| class BatchSamplesQuery(ListQuery): | |
| batch_id: str | |
| sort_key: Optional[sample_sort_keys] = "sample_id" | |
| class SamplesQuery(ListQuery): | |
| batch_id: Optional[str] = None | |
| sort_key: Optional[sample_sort_keys] = "sample_id" | |
| class DatasetsQuery(BaseModel): | |
| page_size: Optional[int] = 5 | |
| page_num: Optional[int] = 0 | |
| query_string: Optional[str] = "" | |
Xet Storage Details
- Size:
- 889 Bytes
- Xet hash:
- 8bd98f6c241fdd17e73741bb08875dc066895bab9905f02acd9a84e34623f284
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.