app/importers/file_importers/student_section_grades_importer.rb
# The CSV output of the custom Aspen routine doesn't include headers, so we
# specify them explicitly here:
The CSV output of the custom Aspen routine doesn't include headers, so we
specify them explicitly here.
The CSV output of the custom Aspen routine doesn ' t include headers so we specify them explicitly here .
def import
    return unless remote_file_name
    streaming_csv = CsvDownloader.new(
      log: @log, remote_file_name: remote_file_name, client: client, transformer: data_transformer
    ).get_data
    streaming_csv.each_with_index do |row, index|
      import_row(row) if filter.include?(row[:school_local_id])
    end
  end
def import return unless remote_file_name streaming_csv = CsvDownloader . new ( log : @log , remote_file_name : remote_file_name , client : client , transformer : data_transformer ) . get_data streaming_csv . each_with_index do | row , index | import_row ( row ) if filter . include? ( row [ :school_local_id ] ) end end
The CSV output of the custom Aspen routine doesn't include headers, so we
specify them explicitly here:
The CSV output of the custom Aspen routine doesn ' t include headers so we specify them explicitly here :