The getpass() input for authentication pipes to stdout. This could be handled in stderr (as well as the remaining logging config) per this guide.
Make sure both logging and getpass() are using consistent outputs. Could probably also handle the username input via getpass(), too, instead of through input(), to stay consisten (as managing the stream there seems relatively arduous compared to swapping modules).
The
getpass()input for authentication pipes to stdout. This could be handled in stderr (as well as the remaining logging config) per this guide.Make sure both
loggingandgetpass()are using consistent outputs. Could probably also handle the username input viagetpass(), too, instead of throughinput(), to stay consisten (as managing the stream there seems relatively arduous compared to swapping modules).