| 370 | |
| 371 | @typing.overload |
| 372 | def open( |
| 373 | file: Union[str, "PathLike[str]", bytes], |
| 374 | mode: Union[Literal["rt"], Literal["r"]], |
| 375 | buffering: int = -1, |
| 376 | encoding: Optional[str] = None, |
| 377 | errors: Optional[str] = None, |
| 378 | newline: Optional[str] = None, |
| 379 | *, |
| 380 | total: Optional[int] = None, |
| 381 | description: str = "Reading...", |
| 382 | auto_refresh: bool = True, |
| 383 | console: Optional[Console] = None, |
| 384 | transient: bool = False, |
| 385 | get_time: Optional[Callable[[], float]] = None, |
| 386 | refresh_per_second: float = 10, |
| 387 | style: StyleType = "bar.back", |
| 388 | complete_style: StyleType = "bar.complete", |
| 389 | finished_style: StyleType = "bar.finished", |
| 390 | pulse_style: StyleType = "bar.pulse", |
| 391 | disable: bool = False, |
| 392 | ) -> ContextManager[TextIO]: |
| 393 | pass |
| 394 | |
| 395 | |
| 396 | @typing.overload |