pylinting and using proper super
Removed one error and made the connection object private