pysftp: CnOpts.hostkeys can be None (#9937)

This commit is contained in:
Davide Setti
2023-03-24 13:00:57 +01:00
committed by GitHub
parent 1d6a880a3d
commit bbfbc04747

View File

@@ -28,7 +28,7 @@ class CnOpts:
log: bool = ...
compression: bool = ...
ciphers: Sequence[str] | None = ...
hostkeys: paramiko.HostKeys = ...
hostkeys: paramiko.HostKeys | None = ...
def __init__(self, knownhosts: str | None = ...) -> None: ...
def get_hostkey(self, host: str) -> paramiko.PKey: ...