How do I set a property for a keymap item that is part of a macro operator?

for example, if I have VIEW3D_OT_select_lasso as part of my macro, I’m not currently able to set the “mode” property like I normally would using setattr(), I get an exception saying that “mode” is not a valid property. what’s the proper method for this?

Not 10 minutes after I posted that, I had an epiphany and realized that they were probably stored as objects in properties, and sure enough it worked. Going to leave the solution here since I wasn’t able to find anything by googling it and IMO the answer is not entirely obvious unless you’re really thinking in deep python.

setattr(, "mode", "SET")