(self)
| 65 | |
| 66 | class DataSource: |
| 67 | def __init__(self): |
| 68 | self.config = { |
| 69 | "geo_js_url": "https://get.geojs.io/v1/ip/geo.json", |
| 70 | "cloud_emissions_path": "data/cloud/impact.csv", |
| 71 | "usa_emissions_data_path": "data/private_infra/2016/usa_emissions.json", |
| 72 | "can_energy_mix_data_path": "data/private_infra/2023/canada_energy_mix.json", # noqa: E501 |
| 73 | "global_energy_mix_data_path": "data/private_infra/global_energy_mix.json", # noqa: E501 |
| 74 | "carbon_intensity_per_source_path": "data/private_infra/carbon_intensity_per_source.json", |
| 75 | "cpu_power_path": "data/hardware/cpu_power.csv", |
| 76 | } |
| 77 | self.module_name = "codecarbon" |
| 78 | |
| 79 | @property |
| 80 | def geo_js_url(self): |
nothing calls this directly
no outgoing calls
no test coverage detected