--- /dev/null
+from typing import ContextManager, Iterator, Generic, TypeVar\r
+\r
+_T = TypeVar("_T")\r
+\r
+class ProgressBar(object, Generic[_T]):\r
+ def update(self, n_steps: int) -> None: ...\r
+ def finish(self) -> None: ...\r
+ def __enter__(self) -> "ProgressBar[_T]": ...\r
+ def __exit__(self, exc_type, exc_value, tb) -> None: ...\r
+ def __iter__(self) -> "ProgressBar[_T]": ...\r
+ def next(self) -> _T: ...\r
+ def __next__(self) -> _T: ...\r