mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
paramiko: add ProxyCommand to _SocketLike (#12697)
This commit is contained in:
@@ -12,13 +12,14 @@ from paramiko.channel import Channel
|
||||
from paramiko.message import Message
|
||||
from paramiko.packet import Packetizer
|
||||
from paramiko.pkey import PKey
|
||||
from paramiko.proxy import ProxyCommand
|
||||
from paramiko.server import ServerInterface, SubsystemHandler
|
||||
from paramiko.sftp_client import SFTPClient
|
||||
from paramiko.ssh_gss import _SSH_GSSAuth
|
||||
from paramiko.util import ClosingContextManager
|
||||
|
||||
_Addr: TypeAlias = tuple[str, int]
|
||||
_SocketLike: TypeAlias = str | _Addr | socket | Channel
|
||||
_SocketLike: TypeAlias = str | _Addr | socket | Channel | ProxyCommand
|
||||
|
||||
class _KexEngine(Protocol):
|
||||
def start_kex(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user