Skip to content

Commit dfa6a75

Browse files
authored
tqdm: Add missing tqdm.monitor class variable (#9249)
Co-authored-by: Gabriel Smith <gabriel.smith@precisionot.com>
1 parent ed52f68 commit dfa6a75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stubs/tqdm/tqdm/std.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from collections.abc import Callable, Iterable, Iterator, Mapping, MutableMappin
44
from typing import Any, ClassVar, Generic, NoReturn, TypeVar, overload
55
from typing_extensions import Literal
66

7+
from ._monitor import TMonitor
78
from .utils import Comparable
89

910
__all__ = [
@@ -31,6 +32,7 @@ _T = TypeVar("_T")
3132

3233
class tqdm(Generic[_T], Iterable[_T], Comparable):
3334
monitor_interval: ClassVar[int]
35+
monitor: ClassVar[TMonitor | None]
3436

3537
@staticmethod
3638
def format_sizeof(num: float, suffix: str = ..., divisor: float = ...) -> str: ...

0 commit comments

Comments
 (0)