

def wrapped_set_job_state(self, *args, **kwargs):
    '\n        Wraps set_job_state() to perform extra actions before and/or after\n        job state updates.\n        \n        :param str new_state: The job state to set.\n        '
    NodeStateManager.i_did_something()
    self.job.set_job_state(*args, **kwargs)

dataset/ETHPy150Open duointeractive/media-nommer/media_nommer/ec2nommerd/nommers/base_nommer.py BaseNommer.wrapped_set_job_state/original