(runtime_kind: str)
| 29 | |
| 30 | |
| 31 | def _normalize_runtime_kind(runtime_kind: str) -> str: |
| 32 | kind = (runtime_kind or "").strip().lower() |
| 33 | if kind not in _RUNTIME_STATUS: |
| 34 | raise ValueError(f"Unsupported runtime kind: {runtime_kind}") |
| 35 | return kind |
| 36 | |
| 37 | |
| 38 | def _update_status(runtime_kind: str, **fields: Any) -> Dict[str, Any]: |
no outgoing calls
no test coverage detected