transform.rotate in Blender 2.8 The below script for blender 2.7x is not working with 2.80
How could I fix it? I got the message - "TypeError: Converting py args to operator properties: : keyword "axis" unrecognized".

bpy.ops.transform.rotate(value=wheel_rotation_angle , axis=(wheel_rotation_x_axis, wheel_rotation_y_axis, wheel_rotation_z_axis), constraint_axis=(False, True, True))
Select the object in the 3D window ; key in r,x,30    to rotate 30 deg about the x-axis ; Visit the info window to see and copy/paste the equivalent python code.
I forgot which is local and which is global, i.e. experiment with r,x,30 or r,x,x,30
Note also the use of degrees with the keyboard, but radians in the script:
bpy.ops.transform.rotate(value=pi/6, orient_axis='Z',\ orient_type='LOCAL') verified with Blender 2.8
We have left off the numerous optional arguments in this example