Some of my clients request that I shave down their Labs and other shedding dogs or cats. I give them a # 5F or 7F blade shave, and others I use a clip-on comb that leaves 3/8" to 5/8" of hair left on the dog or cat. It all depends on why they want them shaved and how long between grooms.
Some have their dogs shaved because the dog swims or gets dirty often, and short hair on a Lab or Retriever is easier to maintain and dry out.
Others, the dog's skin as allergy issues and shaving the hair is the best way to treat the hot spots.
I also suggest shaving the pet if there is a flea infestation.
And I shave cats to a Lion Cut to reduce matts and hair balls.
Usually, a bath every 6 weeks with specialty shampoo and conditioner for controlling undercoats is all that is needed to reduce the amount of hair floating around the house.
Here's a good article from Groomer to Groomer magazine on shedding.
https://www.groomertogroomer.com/its-hair-not-warfare-a-primer-on-shedding/