'Takes the computed runtime state and serializes it during run request creation.'

def encode_runtime_state(self, runtime_state):

    return runtime_state.encode(Bunch(inputs=self.get_runtime_inputs()), self.trans.app)
