MCPcopy Create free account
hub / github.com/cosdata/cosdata / __init__

Method __init__

tests/rps-test.py:375–377  ·  view source on GitHub ↗
(self, host, token)

Source from the content-addressed store, hash-verified

373 # Create a mock client object with required attributes
374 class MockClient:
375 def __init__(self, host, token):
376 self.host = host
377 self.token = token
378
379 def _get_headers(self):
380 return {"Authorization": f"Bearer {self.token}", "Content-type": "application/json"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected