We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1dabe commit 0ffc848Copy full SHA for 0ffc848
pytorch_lightning/callbacks/progress/rich_progress.py
@@ -30,7 +30,7 @@ class CustomTimeColumn(ProgressColumn):
30
# Only refresh twice a second to prevent jitter
31
max_refresh = 0.5
32
33
- def __init__(self, style: Union[str, Style]):
+ def __init__(self, style: Union[str, Style]) -> None:
34
self.style = style
35
super().__init__()
36
@@ -137,7 +137,7 @@ def __init__(
137
self,
138
refresh_rate: float = 1.0,
139
theme: RichProgressBarTheme = RichProgressBarTheme(),
140
- ):
+ ) -> None:
141
if not _RICH_AVAILABLE:
142
raise ImportError(
143
"`RichProgressBar` requires `rich` to be installed. Install it by running `pip install rich`."
0 commit comments