Is a class that contains a connection method and methods that do select, insert, update, delete, a violation of the single responsibility principle?
class Database:
def create_connection(self, url):
...
def select(self):
...
def insert(self):
...
def update(self):
...
def delete(self):
...