Draw_handler_add requires dummy arguments?

Hi,

I am trying to utilize draw_handler_add to do some viewport drawing: https://docs.blender.org/api/current/bpy.types.Space.html?highlight=draw_handler_add#bpy.types.Space.draw_handler_add

I am confused why does it require args, and especially why does it require args to be a tuple? The callback function I’ve made does not need any other argument than the typical “self” of the class, so I don’t need to pass anything into it, yet I had to make “dummy” context and event arguments just to get the handler addition to work, despite not actually utilizing those arguments anywhere in the function.

Is this a limitation or am I doing something wrong?

You can pass an empty tuple.