class documentation
A fake UI object, adhering to the interface expected by KnownHostsFile.verifyHostKey
Method | __init__ |
No summary |
Method | prompt |
Issue the user an interactive prompt, which they can accept or deny. |
Method | warn |
Issue a non-interactive warning to the user. |
Instance Variable | prompt |
last result returned from 'prompt'. |
Instance Variable | prompt |
the last input provided to 'prompt'. |
Instance Variable | user |
inputs provided to 'warn'. |
Inherited from ConsoleUI
:
Instance Variable | opener |
Undocumented |
Parameters | |
opener:callable taking no arguments and returning a read/write file-like object | A no-argument callable which should open a console binary-mode file-like object to be used for reading and writing. This initializes the opener attribute. |