@bayucan: Looks good!
My only comment is that your python event is lower case. It says pbs.EXECJOB_resize. I suspect that is all upper case. If it isn’t, it should be to be consistent with other event types.
@bhroam: oops, sorry about that. I just did a Find and Replace string from “configure” to “resize” and forgot to use the option to match the case. I just updated the doc to now say pbs.EXECJOB_RESIZE.