MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _normalize_runtime_kind

Function _normalize_runtime_kind

src/core/browser_runtime_status.py:31–35  ·  view source on GitHub ↗
(runtime_kind: str)

Source from the content-addressed store, hash-verified

29
30
31def _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
38def _update_status(runtime_kind: str, **fields: Any) -> Dict[str, Any]:

Callers 2

_update_statusFunction · 0.85
get_runtime_statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected