def set(self, key, val):
data = self.get_data(True)<EOL>if data is not None:<EOL><INDENT>data[key] = val<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>
Set value stored for current running task.