GreenScheduler / cats

CATS: the Climate-Aware Task Scheduler :cat2: :tiger2: :leopard:
https://greenscheduler.github.io/cats/
MIT License
50 stars 8 forks source link

Remove sort_index from dataclass as not needed #58

Closed Llannelongue closed 1 year ago

Llannelongue commented 1 year ago

Streamlined the dataclasses CarbonIntensityPointEstimate and CarbonIntensityAverageEstimate by removing sort_index. As described in the SO discussion here this is only needed in specific cases, here we can simplify it by ordering the attributes (first attribute used for sorting).