commit | 23e6bdf5e8cca1e34ab91ce9e05eb1d546f0ee45 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Sat Dec 24 02:18:54 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Sat Dec 24 02:18:54 2016 +0200 |
tree | 4b22761398df993bf775cc03b2af6f4a9c8a7dbb | |
parent | bbbe1dcd7fbca7f4cc44a9dc0a2df935a47d6516 [diff] [blame] |
test code working
diff --git a/stubs/paramiko.pyi b/stubs/paramiko.pyi index 45010f0..98ee7ae 100644 --- a/stubs/paramiko.pyi +++ b/stubs/paramiko.pyi
@@ -15,7 +15,10 @@ class RSAKey: @classmethod - def from_private_key(cls, data: BytesIO) -> 'RSAKey': ... + def from_private_key(cls, data: BytesIO, password: str = None) -> 'RSAKey': ... + + @classmethod + def from_private_key_file(cls, fname: str, password: str = None) -> 'RSAKey': ...