Several sites on the internet indicate it may be possible to dry the windings on a waterlogged pump using electricity. This is done by a low DC voltage to the pump, and allowing the windings to heat to the extent the water evaporates. Another method recommended is to apply low voltage AC to run the pump.
How would you go about drying the windings?
p.s. Please apply community tag to the question ; there may be more than one right answer ... and I'm hoping they will all be useful.