I\'m new to python and have questions about database connections - do I need to declare the connection outside of the class in the main body and in every function, or I can make