mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.11k stars 173 forks source link

Added type hints to functions and docstring to ApplePowermetrics class #636

Closed MyGodItsFull0fStars closed 4 weeks ago

MyGodItsFull0fStars commented 1 month ago

Added type hints to some functions and also docstring for ApplePowermetrics class containing the public facing functions and a description of the classes purpose.

vercel[bot] commented 1 month ago

@MyGodItsFull0fStars is attempting to deploy a commit to the Code Carbon Team on Vercel.

A member of the Team first needs to authorize it.

MyGodItsFull0fStars commented 3 weeks ago

Happy to contribute to CodeCarbon! 🥳