-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Show elapsed time when finished in rich.progress.track() #2659
Show elapsed time when finished in rich.progress.track() #2659
Conversation
68e6685
to
9449111
Compare
Before it was showing ``` Inserting nodes... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 ``` now it will show: ``` Inserting nodes... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:12:03 ```
9449111
to
bed8ee9
Compare
Codecov ReportPatch and project coverage have no change.
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #2659 +/- ##
=======================================
Coverage 98.38% 98.38%
=======================================
Files 74 74
Lines 7930 7930
=======================================
Hits 7802 7802
Misses 128 128
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally it shows, estimated time to complete the progress. Making it show another kind of value(time spent for progress) after completion can be confusing for majority of users. That is the main reason its(elapsed_when_finished) default value is set to false. I find making it true is not logical.
The problem is that the |
Does seem like a better default. |
Before it was showing
now it will show:
-> Now one can see the elapsed time without adding another way to measure that time...
Type of changes
Checklist
Description
Just added the appropriate parameter:
TimeRemainingColumn(elapsed_when_finished=True),
to the created columns.