MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / connection_check

Method connection_check

codeplain_REST_api.py:155–162  ·  view source on GitHub ↗
(self, client_version)

Source from the content-addressed store, hash-verified

153 retry_delay = self._handle_retry_logic(attempt, retry_delay, num_retries, e, silent)
154
155 def connection_check(self, client_version):
156 endpoint_url = f"{self.api_url}/connection_check"
157 headers = {"Content-Type": "application/json"}
158 payload = {
159 "api_key": self.api_key,
160 "client_version": client_version,
161 }
162 return self.post_request(endpoint_url, headers, payload, None, num_retries=0, silent=True)
163
164 def status(self):
165 endpoint_url = f"{self.api_url}/status"

Callers 2

print_statusFunction · 0.95
_check_connectionFunction · 0.80

Calls 1

post_requestMethod · 0.95

Tested by

no test coverage detected