From 01d01ed5ee322f65ef5c333955570552c68a40d8 Mon Sep 17 00:00:00 2001 From: Bernhard Wagner Date: Fri, 27 Oct 2023 13:59:40 +0200 Subject: [PATCH] =?UTF-8?q?Update=20progress.py:=20doc:=20Progress.default?= =?UTF-8?q?=5Fcolumns=20->=20Progress.get=5Fdef=E2=80=A6=20(#3170)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update progress.py: doc: Progress.default_columns -> Progress.get_default_columns Update progress.py: doc: Progress.default_columns -> Progress.get_default_columns * Update CONTRIBUTORS.md add bwagner (myself) to contributors --- CONTRIBUTORS.md | 3 ++- rich/progress.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 40ad4666f..72f88eebf 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -70,4 +70,5 @@ The following people have contributed to the development of Rich: - [Ke Sun](https://github.com/ksun212) - [Qiming Xu](https://github.com/xqm32) - [James Addison](https://github.com/jayaddison) -- [Pierro](https://github.com/xpierroz) \ No newline at end of file +- [Pierro](https://github.com/xpierroz) +- [Bernhard Wagner](https://github.com/bwagner) diff --git a/rich/progress.py b/rich/progress.py index 2542b9ab6..8810aeac4 100644 --- a/rich/progress.py +++ b/rich/progress.py @@ -1113,7 +1113,7 @@ def get_default_columns(cls) -> Tuple[ProgressColumn, ...]: progress = Progress( SpinnerColumn(), - *Progress.default_columns(), + *Progress.get_default_columns(), "Elapsed:", TimeElapsedColumn(), )