Skip to content

Commit c5f0890

Browse files
authored
Merge pull request #2613 from xadrianzetx/fix-spinner-style-type
Fix type of `spinner_style` argument in `Console.status`
2 parents 3588894 + 81bb9ab commit c5f0890

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8181
- Handling of broken `fileno` made more robust. Fixes https://github.com/Textualize/rich/issues/2645
8282
- Fixed missing `fileno` on FileProxy
8383

84+
### Fixed
85+
86+
- Fix type of `spinner_style` argument in `Console.status` https://github.com/Textualize/rich/pull/2613.
87+
8488
### Changed
8589

8690
- Bumped minimum Python version to 3.7 https://github.com/Textualize/rich/pull/2567

CONTRIBUTORS.md

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ The following people have contributed to the development of Rich:
6464
- [Tomer Shalev](https://github.com/tomers)
6565
- [Serkan UYSAL](https://github.com/uysalserkan)
6666
- [Zhe Huang](https://github.com/onlyacat)
67+
- [Adrian Zuber](https://github.com/xadrianzetx)
6768
- [Ke Sun](https://github.com/ksun212)
6869
- [Qiming Xu](https://github.com/xqm32)
6970
- [James Addison](https://github.com/jayaddison)
71+

rich/console.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ def status(
11501150
status: RenderableType,
11511151
*,
11521152
spinner: str = "dots",
1153-
spinner_style: str = "status.spinner",
1153+
spinner_style: StyleType = "status.spinner",
11541154
speed: float = 1.0,
11551155
refresh_per_second: float = 12.5,
11561156
) -> "Status":

0 commit comments

Comments
 (0)