From bbfbc047471ec6e8dabc46774d52443a04bd1536 Mon Sep 17 00:00:00 2001 From: Davide Setti Date: Fri, 24 Mar 2023 13:00:57 +0100 Subject: [PATCH] pysftp: CnOpts.hostkeys can be None (#9937) --- stubs/pysftp/pysftp/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/pysftp/pysftp/__init__.pyi b/stubs/pysftp/pysftp/__init__.pyi index 6e42892a6..6fdb61fe7 100644 --- a/stubs/pysftp/pysftp/__init__.pyi +++ b/stubs/pysftp/pysftp/__init__.pyi @@ -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: ...