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

Method __init__

tests/cli/test_cli_main.py:74–75  ·  view source on GitHub ↗
(self, save_to_file=False, **kwargs)

Source from the content-addressed store, hash-verified

72def test_detect_monkeypatched_tracker(monkeypatch):
73 class FakeTracker:
74 def __init__(self, save_to_file=False, **kwargs):
75 pass
76
77 def get_detected_hardware(self):
78 return {

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected