예제 #1
0
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
예제 #2
0
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