def get_artist_ids(db_session):
    """Returns a list of all artist ID's."""
    c = db_session.cursor()
    c.execute("""SELECT artist_id FROM artists""")
    l = []
    for row in c:
        l.append(row[0])
    #db_session.commit()
    c.close()
    return l