Client.set_missing_host_key_policy class-vs-instance footgun
I don't see any reason why the mentioned method shouldn't accept, and then auto instantiate, policy classes as well as instances. This API has always felt bizarre to me and it very frequently trips users up.
Instead of adding an FAQ we should just make it do the smart thing.
The text was updated successfully, but these errors were encountered: