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

Method json

tests/cli/test_cli_main.py:192–193  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

190
191 class FakeResponse:
192 def json(self):
193 return {"token": "project-api-token"}
194
195 def fake_post(url, json, headers):
196 captured["url"] = url

Callers 15

configure_fiefFunction · 0.80
add_telemetryMethod · 0.80
get_emissionsFunction · 0.80
get_env_cloud_detailsFunction · 0.80
check_authMethod · 0.80
create_organizationMethod · 0.80
get_organizationMethod · 0.80
update_organizationMethod · 0.80
create_projectMethod · 0.80
get_projectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected