MCPcopy Index your code
hub / github.com/github/spec-kit / _update

Method _update

src/specify_cli/_console.py:71–81  ·  view source on GitHub ↗
(self, key: str, status: str, detail: str)

Source from the content-addressed store, hash-verified

69 self._update(key, status="skipped", detail=detail)
70
71 def _update(self, key: str, status: str, detail: str):
72 for s in self.steps:
73 if s["key"] == key:
74 s["status"] = status
75 if detail:
76 s["detail"] = detail
77 self._maybe_refresh()
78 return
79
80 self.steps.append({"key": key, "label": key, "status": status, "detail": detail})
81 self._maybe_refresh()
82
83 def _maybe_refresh(self):
84 if self._refresh_cb:

Callers 4

startMethod · 0.95
completeMethod · 0.95
errorMethod · 0.95
skipMethod · 0.95

Calls 1

_maybe_refreshMethod · 0.95

Tested by

no test coverage detected