Bathing while in shed will deplite the snake form essential oils which make it difficult for it to shed.

Bathing after a bad shed can be done but there are better alternative that are less stressful.

Remember stress plus bad husbandry can lead to severe health issues, stress with those animals should be kept to a minimum.

The only time I ever bath a snake it has happened twice in 10 years and in both case those wee females that were way overdue (50 days POS)