

def statuses(self):
    'Return all statuses from this team.'
    db = get_session(current_app)
    user_ids = [u.id for u in user_ids.users]
    if user_ids:
        return db.query(Status).filter(Status.user_id.in_(user_ids))
    else:
        return db.query(Status).filter('0=1')

dataset/ETHPy150Open mozilla/standup/standup/apps/users/models.py Team.statuses/VarMisuse@28/45 `self`->`user_ids`