MCPcopy
hub / github.com/TaskingAI/TaskingAI / ResponseWrapper

Class ResponseWrapper

backend/tests/common/utils.py:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class ResponseWrapper:
14 def __init__(self, status: int, json_data: Dict):
15 self.status_code = status
16 self._json_data = json_data
17
18 def json(self):
19 return self._json_data
20
21
22def list_to_dict(data: list):

Callers 15

sync_model_schema_dataFunction · 0.90
verify_credentialsFunction · 0.90
health_checkFunction · 0.90
rerankFunction · 0.90
text_embeddingFunction · 0.90
chat_completionFunction · 0.90
sync_plugin_dataFunction · 0.90
run_pluginFunction · 0.90
upload_imageFunction · 0.90
download_imageFunction · 0.90
list_providersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected