MCPcopy Create free account
hub / github.com/mlco2/codecarbon / __init__

Method __init__

tests/cli/test_cli_main.py:12–14  ·  view source on GitHub ↗
(self, endpoint_url=None)

Source from the content-addressed store, hash-verified

10
11class FakeApiClient:
12 def __init__(self, endpoint_url=None):
13 self.endpoint_url = endpoint_url
14 self.token = None
15
16 def set_access_token(self, token):
17 self.token = token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected