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

Method __init__

codecarbon/output_methods/http.py:19–20  ·  view source on GitHub ↗
(self, endpoint_url: str)

Source from the content-addressed store, hash-verified

17 """
18
19 def __init__(self, endpoint_url: str):
20 self.endpoint_url: str = endpoint_url
21
22 def out(self, total: EmissionsData, _: EmissionsData):
23 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected