Is there a method for RemoveAllNakedMicroEdges in API?

See if RetrimSrf.py in the post below can repair the faces.