def get(self, request, *args, **kwargs):
    timer = Timer()
    try:
        prefetch_resources(request, prefetch_group=True, prefetch_enrollment=True)
        response = api_request(request)
        log_api_call(timer, request, 'Get DepartmentalCalendar')
        return self.json_response(response)
    except Exception:
        return handle_exception(logger, timer, traceback)
def get(self, request, *args, **kwargs):
    timer = Timer()
    try:
        prefetch_resources(request, prefetch_group=True, prefetch_enrollment=True)
        response = api_request(request)
        log_api_call(timer, request, 'Get DepartmentalCalendar')
        return self.json_response(response)
    except Exception:
        return handle_exception(logger, timer, traceback)