

def get(self, request, **response_kwargs):
    render_class = ReportCsvRenderer
    response_kwargs.setdefault('filename', 'usage.csv')
    context = {
        'usage': load_report_data(request),
    }
    resp = render_class(request=request, template=None, context=context, content_type='csv', **response_kwargs)
    return resp

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/admin/metering/views.py CsvReportView.get/original