Oh, see I missed this. I thought it was going to be the type of the action, deploy, addUnit, etc. 

I guess type is ok as it's not used generically through a large chunk of code. I'd add that info about the expected 'types' to the docstring then please?