MCPcopy
hub / github.com/mindverse/Second-Me / success

Method success

lpm_kernel/api/common/responses.py:10–11  ·  view source on GitHub ↗
(data: Any = None, message: str = "success")

Source from the content-addressed store, hash-verified

8class APIResponse:
9 @staticmethod
10 def success(data: Any = None, message: str = "success") -> dict:
11 return {"code": 0, "message": message, "data": data}
12
13 @staticmethod
14 def error(message: str, code: int = 1, data: Any = None) -> dict:

Callers 15

list_documentsFunction · 0.80
scan_documentsFunction · 0.80
analyze_documentsFunction · 0.80
get_document_l0Function · 0.80
get_document_chunksFunction · 0.80
process_all_chunksFunction · 0.80
get_document_embeddingsFunction · 0.80
get_document_embeddingFunction · 0.80
repair_documentsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected