So I think the LeaderText() is broken in python. It won’t set the text to a new value.
In trying to look under the hood. It looks function try’s to set the geom.TextFormula
if text is not None:
geom.TextFormula = text
annotation_object.CommitChanges()
scriptcontext.doc.Views.Redraw()
Shouldn’t it be setting the geom.Text property??
Also I tired to use the edittext() sample project from the rhino common wiki but it won’t work on a leader either.