MCPcopy Create free account
hub / github.com/bloomberg/pystack / green

Function green

src/pystack/__main__.py:302–303  ·  view source on GitHub ↗
(key: str)

Source from the content-addressed store, hash-verified

300 return colored(str(obj), "green")
301
302 def green(key: str) -> str:
303 return as_green_str(psinfo.get(key))
304
305 state = as_green_str(chr(psinfo["sname"]))
306 zombie = as_green_str(bool([psinfo["zomb"]]))

Callers 1

Calls 1

as_green_strFunction · 0.85

Tested by

no test coverage detected