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

Method cloud_emissions_path

codecarbon/input.py:92–99  ·  view source on GitHub ↗

Resource Extraction from a package https://setuptools.readthedocs.io/en/latest/pkg_resources.html#resource-extraction

(self)

Source from the content-addressed store, hash-verified

90
91 @property
92 def cloud_emissions_path(self):
93 """
94 Resource Extraction from a package
95 https://setuptools.readthedocs.io/en/latest/pkg_resources.html#resource-extraction
96 """
97 return self.get_ressource_path(
98 self.module_name, self.config["cloud_emissions_path"]
99 )
100
101 @property
102 def carbon_intensity_per_source_path(self):

Callers

nothing calls this directly

Calls 1

get_ressource_pathMethod · 0.95

Tested by

no test coverage detected