Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove `Client.set_missing_host_key_policy` class-vs-instance footgun #857
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.