massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / paramiko / paramiko / sftp_handle.pyi
1 from paramiko.sftp_attr import SFTPAttributes
2 from paramiko.util import ClosingContextManager
3
4 class SFTPHandle(ClosingContextManager):
5     def __init__(self, flags: int = ...) -> None: ...
6     def close(self) -> None: ...
7     def read(self, offset: int, length: int) -> bytes | int: ...
8     def write(self, offset: int, data: bytes) -> int: ...
9     def stat(self) -> int | SFTPAttributes: ...
10     def chattr(self, attr: SFTPAttributes) -> int: ...