Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions stubs/scp/scp.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from _typeshed import FloatInt
from collections.abc import Callable, Iterable
from pathlib import PurePath
from types import TracebackType
Expand Down Expand Up @@ -29,7 +28,7 @@ def asunicode_win(s: bytes | str) -> str: ...
class SCPClient:
transport: Transport
buff_size: int
socket_timeout: FloatInt | None
socket_timeout: float | int | None
channel: Channel | None
preserve_times: bool
sanitize: Callable[[bytes], bytes]
Expand All @@ -39,7 +38,7 @@ class SCPClient:
self,
transport: Transport,
buff_size: int = 16384,
socket_timeout: FloatInt | None = 10.0,
socket_timeout: float | int | None = 10.0,
progress: Callable[[str | bytes, int, int], None] | None = None,
progress4: Callable[[str | bytes, int, int, tuple[str, int]], None] | None = None,
sanitize: Callable[[bytes], bytes] | Literal[False] = ...,
Expand Down
Loading