Spaces:
Runtime error
Runtime error
Experimenting with how I return results
Browse files457 unmodified lines458459460461462463464465457 unmodified linescompletion_id=completion_id,)if 'failed' in result[0] and len(result) > 1:exc = result[1]out_dict["exception_type"] = type(exc).__name__out_dict["exception_description"] = str(exc)457 unmodified lines458459460461462463464465457 unmodified linescompletion_id=completion_id,)if 'exception' in result:exc = result['exception']out_dict["exception_type"] = type(exc).__name__out_dict["exception_description"] = str(exc)
restrictedpython_code_eval.py+2-2