Is there any ways to convert quadratic path to cubic using python code?

Is there any ways to convert quadratic path to cubic using python code?

There is:

path.convertToCubic()
#and 
path.convertToQuadratic()
1 Like

Thanks!!