MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / _is_alert

Function _is_alert

scripts/developer-guide/summarize_reports.py:13–15  ·  view source on GitHub ↗
(candidate: dict[str, object])

Source from the content-addressed store, hash-verified

11
12
13def _is_alert(candidate: dict[str, object]) -> bool:
14 required_keys = {"Severity", "Check", "Message"}
15 return required_keys.issubset(candidate.keys())
16
17
18def _collect_alerts(node: object, path_hint: str = "") -> list[dict[str, object]]:

Callers 1

_collect_alertsFunction · 0.70

Calls 1

keysMethod · 0.65

Tested by

no test coverage detected