• Einar Uvsløkk's avatar
    Reduce complexity in WorkoutSerializer.update · d230a3f8
    Einar Uvsløkk authored
    Both flake8 and sonarlint reported high cognitive complexity in the
    WorkoutSerializer.update method. The complexity is now reduced by using
    a substitute algorithm strategy. Some variable names are renamed to
    improve readability.
    d230a3f8