def update_user_contributions(): from vilya.models.contributions import UserContributions users = get_users() for user in users: UserContributions.update_by_user(user.name)
def update_user_pulls(): users = get_users() for user in users: clean_user_pulls(user)