(value: str, label: str)
| 9 | |
| 10 | |
| 11 | def require_uuid(value: str, label: str) -> str: |
| 12 | try: |
| 13 | return str(uuid.UUID(value)) |
| 14 | except ValueError as exc: |
| 15 | raise SystemExit(f"{label} must be a UUID.") from exc |
| 16 | |
| 17 | |
| 18 | def require_handoff_claim_token(value: str) -> str: |
no outgoing calls
no test coverage detected