Convert IPO type ?

Hi,

Is there any way to convert an IPO from bezier to constant/linear thru Python ?
I was looking at the Ipo modules and seems like there isn’t a method for this… maybe some other way ?

Thanx in advance.

malefico.