def delete(self): """Stop the simulator from executing it's current simulation.""" SimulatorService.stop_simulation() res = jsonify({}) res.status_code = 202 return res
def get(self): """Return information about the status of the simulator.""" info = SimulatorService.get_info() return jsonify(info=info)