Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /spraakbanken_karp-backend /tests /unit /lex /adapters.py
| from karp.foundation.value_objects import unique_id | |
| def ensure_correct_id_type(v) -> unique_id.UniqueId: | |
| try: | |
| return unique_id.UniqueId.validate(v) | |
| except ValueError as exc: | |
| raise ValueError(f"expected valid UniqueId, got '{v}' (type: `{type(v)}')") from exc | |
Xet Storage Details
- Size:
- 285 Bytes
- Xet hash:
- 45925f2492bb137b48ee65406c4a9300d198767811bb5410b0ccfdce7edb29f3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.