MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / response_format

Function response_format

solidui/kernel_program/utils.py:51–58  ·  view source on GitHub ↗
(code=0, msg="success", data={}, success=True, failed=False)

Source from the content-addressed store, hash-verified

49
50
51def response_format(code=0, msg="success", data={}, success=True, failed=False):
52 return {
53 "code": code,
54 "msg": msg,
55 "data": data,
56 "success": success,
57 "failed": failed
58 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected