-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
enhance complete() #18
Comments
I am just wondering if this could be implemented with a context manager: with logger.progress_report() as progress: # Optional progress.print_progress() The name of the different methods/objects are crap, but such an API would give for free the start and stop separator, and implement easily the progress indicator. |
Nice idea! |
I suggest the progress_report() could accept many arguments, allowing for a full configuration of the progress. Arguments that I think of:
|
Sounds good. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
maybe provide a start() that accepts an optional id and returns it.
complete would provide a separator, the time elapsed, the iterations number (if relevant)
The text was updated successfully, but these errors were encountered: