def find_available_servers(self, quantity):
    try:
        with self.conn:
            cur = self.conn.cursor()
            cur.execute('SELECT id, host, url from servers where app_id = null limit = ?', (quantity,))
            server_rows = cur.fetchall()
            return (list(map((lambda x: Server(x[0], x[1], x[2], None)), server_rows)), None)
    except Exception as er:
        return (None, ('There was a db issue: ' + str(er)))
def find_available_servers(self, quantity):
    try:
        with self.conn:
            cur = self.conn.cursor()
            cur.execute('SELECT id, host, url from servers where app_id = null limit = ?', (quantity,))
            server_rows = cur.fetchall()
            return (list(map((lambda x: Server(x[0], x[1], x[2], None)), server_rows)), None)
    except Exception as er:
        return (None, ('There was a db issue: ' + str(er)))