def make_export(objects): """Make export""" query_helper = QueryHelper(objects) ids_by_type = query_helper.get_ids() converter = ExportConverter(ids_by_type=ids_by_type) csv_data = converter.export_csv_data() object_names = "_".join(converter.get_object_names()) return csv_data, object_names
def make_export(objects): """Make export""" query_helper = QueryHelper(objects) ids_by_type = query_helper.get_ids() converter = ExportConverter(ids_by_type=ids_by_type) csv_data = converter.export_csv_data() object_names = "_".join(converter.get_object_names()) return csv_data, object_names