def METHOD_NAME(self, *args) -> Cursor:
    if self.cursor:
        return self.cursor.execute(*args)
    else:
        Logger.error("Could not execute, cursor not set")
        raise RuntimeError("Could not execute, cursor not set")