python over rotating cylinder
When accessed via Python, all angles are in radians, not degrees.

rotation=(0, 90, 0),


If you want to write in degrees for convenience, you can use math.radians eg

rotation=(0, math.radians(90), 0),