def get_earned_aids(tid=None, uid=None, aid=None):

    return set([a["aid"] for a in get_earned_achievement_instances(tid=tid, uid=uid, aid=aid)])
Gets the solved aids for a given team or user.
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/achievement.py/get_earned_aids