Skip to content

Conversation

@kaushikb11
Copy link
Contributor

@kaushikb11 kaushikb11 commented Aug 31, 2021

What does this PR do?

Fixes #9302

Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

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:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Sep 6, 2021

Codecov Report

Merging #9229 (40a358e) into master (f6614b3) will increase coverage by 0%.
The diff coverage is 100%.

❗ Current head 40a358e differs from pull request most recent head a199934. Consider uploading reports for the commit a199934 to get more accurate results

@@          Coverage Diff           @@
##           master   #9229   +/-   ##
======================================
  Coverage      92%     92%           
======================================
  Files         176     179    +3     
  Lines       14805   14863   +58     
======================================
+ Hits        13658   13714   +56     
- Misses       1147    1149    +2     

@mergify mergify bot added the has conflicts label Sep 6, 2021
Copy link
Contributor

@awaelchli awaelchli left a 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

Copy link
Contributor

@tchaton tchaton left a 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
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Borda reference link?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for example #6584

Copy link
Contributor

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):
    pass

Co-authored-by: Ethan Harris <[email protected]>
@daniellepintz
Copy link
Contributor

please also update callbacks.rst

@daniellepintz
Copy link
Contributor

@kaushikb11 what is the status of this PR?

@stale stale bot added the won't fix This will not be worked on label Oct 5, 2021
@Lightning-AI Lightning-AI deleted a comment from stale bot Oct 5, 2021
@stale stale bot removed the won't fix This will not be worked on label Oct 5, 2021
@Borda
Copy link
Collaborator

Borda commented Oct 5, 2021

@kaushikb11 can we pls resolve the conflicts?

@stale stale bot added the won't fix This will not be worked on label Oct 20, 2021
@carmocca carmocca added this to the v1.5 milestone Oct 21, 2021
@stale stale bot removed the won't fix This will not be worked on label Oct 21, 2021
@Lightning-AI Lightning-AI deleted a comment from stale bot Oct 25, 2021
@kaushikb11 kaushikb11 closed this Oct 25, 2021
@carmocca carmocca deleted the rename/progress_bar branch October 25, 2021 14:36
@daniellepintz
Copy link
Contributor

@kaushikb11 why did you decide to close this?

@kaushikb11
Copy link
Contributor Author

@daniellepintz I am adding it in #10134.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename ProgressBar callback to TQDMProgressBar

7 participants