-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Rename default ProgressBar to TQDMProgressBar #9229
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9229 +/- ##
======================================
Coverage 92% 92%
======================================
Files 176 179 +3
Lines 14805 14863 +58
======================================
+ Hits 13658 13714 +56
- Misses 1147 1149 +2 |
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.
can you also rename the test_progress_bar.py test file?
also note I added fixes in #9310
tchaton
left a comment
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.
LGTM !
| if not bar.disable: | ||
| bar.reset(total=convert_inf(total)) | ||
| # points to the default implementation | ||
| ProgressBar = TQDMProgressBar |
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.
rather inherit and add a deprecation warning, see what we did with Metrics
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.
@Borda reference link?
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.
for example #6584
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.
Like this
class ProgressBar(TQDMProgressBar):
passCo-authored-by: Ethan Harris <[email protected]>
|
please also update callbacks.rst |
|
@kaushikb11 what is the status of this PR? |
|
@kaushikb11 can we pls resolve the conflicts? |
|
@kaushikb11 why did you decide to close this? |
|
@daniellepintz I am adding it in #10134. |
What does this PR do?
Fixes #9302
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃