Method
open
(
self,
file: Union[str, "PathLike[str]", bytes],
mode: Literal["rb"],
buffering: int = -1,
encoding: Optional[str] = None,
errors: Optional[str] = None,
newline: Optional[str] = None,
*,
total: Optional[int] = None,
task_id: Optional[TaskID] = None,
description: str = "Reading...",
)
Source from the content-addressed store, hash-verified
| 1278 | |
| 1279 | @typing.overload |
| 1280 | def open( |
| 1281 | self, |
| 1282 | file: Union[str, "PathLike[str]", bytes], |
| 1283 | mode: Literal["rb"], |
| 1284 | buffering: int = -1, |
| 1285 | encoding: Optional[str] = None, |
| 1286 | errors: Optional[str] = None, |
| 1287 | newline: Optional[str] = None, |
| 1288 | *, |
| 1289 | total: Optional[int] = None, |
| 1290 | task_id: Optional[TaskID] = None, |
| 1291 | description: str = "Reading...", |
| 1292 | ) -> BinaryIO: |
| 1293 | pass |
| 1294 | |
| 1295 | @typing.overload |
| 1296 | def open( |