MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / __init__

Method __init__

server/projects/main/util/fileserver.py:46–50  ·  view source on GitHub ↗
(self, server_conf)

Source from the content-addressed store, hash-verified

44 OK_STATUS = 200
45
46 def __init__(self, server_conf):
47 self._http_client = HttpClient()
48 self._server_url = server_conf["URL"]
49 self._type_prefix = server_conf["TYPE_PREFIX"]
50 self._server_token = server_conf.get("TOKEN")
51
52 @classmethod
53 def get_data_md5(cls, data):

Callers

nothing calls this directly

Calls 2

HttpClientClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected