While this was only needed in 'source/blender/python', add to ghost to avoid problems in the future.
Quaternion.to_euler()