Spaces:
Runtime error
Runtime error
Experimenting with how I return results
Browse files457 unmodified lines458459460461462461462463464465457 unmodified lines completion_id=completion_id, )
if 'failed' in result[0] and len(result) > 1: exc = result[1] 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