Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /pbylicki_rfhub2 /rfhub2 /api /utils /order.py
| from fastapi import Query | |
| from typing import List | |
| from rfhub2.db.repository.ordering import OrderingItem | |
| def get_ordering(order: List[str] = Query([])) -> List[OrderingItem]: | |
| def to_ordering_item(raw: str) -> OrderingItem: | |
| if raw.startswith("-"): | |
| return OrderingItem(raw[1:], False) | |
| else: | |
| return OrderingItem(raw) | |
| return [to_ordering_item(item) for item in order if item and item != "-"] | |
Xet Storage Details
- Size:
- 440 Bytes
- Xet hash:
- 0d7602fc2d13e0a4c3ad5ac90848e3ab1da8225104ba2476c1ecbb59bbee95d3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.