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
4 changes: 2 additions & 2 deletions scp.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class SCPClient(object):
"""
def __init__(self, transport, buff_size=16384, socket_timeout=10.0,
progress=None, progress4=None, sanitize=_sh_quote, limit_bw=None):
# type: (paramiko.transport.Transport, int, float, Optional[Callable[[bytes, int, int], None]], Optional[Callable[[bytes, int, int, Tuple[str, int]], None]], Callable[[bytes], bytes]) -> None
# type: (paramiko.transport.Transport, int, Optional[float], Optional[Callable[[bytes, int, int], None]], Optional[Callable[[bytes, int, int, Tuple[str, int]], None]], Callable[[bytes], bytes], Optional[int]) -> None
"""
Create an scp1 client.

Expand All @@ -125,7 +125,7 @@ def __init__(self, transport, buff_size=16384, socket_timeout=10.0,
@param buff_size: size of the scp send buffer.
@type buff_size: int
@param socket_timeout: channel socket timeout in seconds
@type socket_timeout: float
@type socket_timeout: Optional[float]
@param progress: callback - called with (filename, size, sent) during
transfers
@param progress4: callback - called with (filename, size, sent, peername)
Expand Down