Ho to emulate Grab/Move (G) with python script? After a few hours of searching, I have not found documentation on how to emulate the pressure of the "G" key that allows you to move an object freely with the mouse. I have a modal function and I would like to insert this command to select an object and keep it on the mouse.

the command on blender suggests bpy.ops.transform.translate()
but I can not find options for this.
I've found this question searching solution for same one. I use this line : bpy.ops.transform.translate('INVOKE_DEFAULT'). It  emulates the "G" key for me.