def unravel_sections(section_data):
        """Unravels section type dictionary into flat list of sections with
        section type set as an attribute.

        Args:
            section_data(dict): Data return from py:method::get_sections

        Returns:
            list: Flat list of sections with ``sectionType`` set to
                type (i.e. recitation, lecture, etc)
        """
        sections = []
        for type, subsection_list in section_data.items():
            for section in subsection_list:
                section['sectionType'] = type
                sections.append(section)
        return sections