We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For every output method of the emissions tracker, we have a save_to_X param to pass. See : https://github.com/mlco2/codecarbon/blob/master/codecarbon/emissions_tracker.py#L229-L236 This can become very complex in the long run.
save_to_X
A nice thing will be to have just one param called output that allows an array of strings.
output
EmissionTracker( save_to_api=True, save_to_file= True, ...)
EmissionTracker( output=["api","file"] ...)
What do you think?
The text was updated successfully, but these errors were encountered:
Hey ! Why not but it is important to avoid using mutable default arguments
I don't see any 'list' types in the current __init__ method so we need to check whether this works with the _sentinel pattern works with lists
__init__
_sentinel
Sorry, something went wrong.
No branches or pull requests
Goal
For every output method of the emissions tracker, we have a
save_to_X
param to pass.See : https://github.com/mlco2/codecarbon/blob/master/codecarbon/emissions_tracker.py#L229-L236
This can become very complex in the long run.
A nice thing will be to have just one param called
output
that allows an array of strings.Before
After
What do you think?
The text was updated successfully, but these errors were encountered: