def get_team_members(tid=None, name=None, show_disabled=True):

    db = api.common.get_conn()

    tid = get_team(name=name, tid=tid)["tid"]

    users = list(db.users.find({"tid": tid}, {"_id": 0, "uid": 1, "username": 1, "disabled": 1}))
    return [user for user in users if show_disabled or not user.get("disabled", False)]
Retrieves the members on a team.
dataset/ETHPy150Open picoCTF/picoCTF-Platform-2/api/api/team.py/get_team_members