-
-
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
Add default_columns classmethod to Progress class #1894
Add default_columns classmethod to Progress class #1894
Conversation
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.
Great! Just a request for name and docstring.
Codecov Report
@@ Coverage Diff @@
## master #1894 +/- ##
==========================================
- Coverage 99.82% 99.80% -0.03%
==========================================
Files 71 71
Lines 6943 7035 +92
==========================================
+ Hits 6931 7021 +90
- Misses 12 14 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This should be ready whenever you are. Unless you have further comments, I'll assume this is in your queue for the next release. |
Thanks! |
11.2.0 Added Add support for US spelling of "gray" in ANSI color names Textualize/rich#1890 Added rich.diagnose.report to expose environment debugging logic as function Textualize/rich#1917 Added classmethod Progress.get_default_columns() to get the default list of progress bar columns Textualize/rich#1894 Fixed Fixed performance issue in measuring text Fixed test failures on PyPy3 Textualize/rich#1904
Type of changes
Checklist
Description
Added new default_columns() classmethod to the Progress class, so that client code does not need to replicate the defaults literally, but can just add
*Progress.default_columns()