I have been confued for a long time that how to write the most efficient or pythonic code to pass a database connection object, a pymysql.connect
pymysql.connect