[paramiko] Fix keepalive parameter type from int to float (#14596)

This commit is contained in:
Baptiste Jonglez
2025-08-20 14:55:57 +02:00
committed by GitHub
parent 81639ac9fd
commit b9d15678cd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class Packetizer:
def get_mac_size_in(self) -> int: ...
def get_mac_size_out(self) -> int: ...
def need_rekey(self) -> bool: ...
def set_keepalive(self, interval: int, callback: Callable[[], object]) -> None: ...
def set_keepalive(self, interval: float, callback: Callable[[], object]) -> None: ...
def read_timer(self) -> None: ...
def start_handshake(self, timeout: float) -> None: ...
def handshake_timed_out(self) -> bool: ...
+1 -1
View File
@@ -136,7 +136,7 @@ class Transport(Thread, ClosingContextManager):
def open_sftp_client(self) -> SFTPClient | None: ...
def send_ignore(self, byte_count: int | None = None) -> None: ...
def renegotiate_keys(self) -> None: ...
def set_keepalive(self, interval: int) -> None: ...
def set_keepalive(self, interval: float) -> None: ...
def global_request(self, kind: str, data: Iterable[Any] | None = None, wait: bool = True) -> Message | None: ...
def accept(self, timeout: float | None = None) -> Channel | None: ...
def connect(