@XBlock.json_handler<EOL><INDENT>def studio_submit(self, data, suffix='<STR_LIT>'):<DEDENT>
self.display_name = data['<STR_LIT>']<EOL>self.weight = data['<STR_LIT>']<EOL>self.question_text = data['<STR_LIT>']<EOL>self.rationale_size = data['<STR_LIT>']<EOL>self.options = data['<STR_LIT>']<EOL>self.correct_answer = data['<STR_LIT>']<EOL>self.correct_rationale = data['<STR_LIT>']<EOL>self.algo = data['<STR_LIT>']<EOL>self.seeds = data['<STR_LIT>']<EOL>return {'<STR_LIT:success>': '<STR_LIT:true>'}<EOL>
Submit handler for studio edit

Args:
    data (dict): data submitted from the form
    suffix (str): not sure

Returns:
    dict: result of the submission