(row_type, sheet_name, languages, media_image, media_audio, unique_id)
return [item if item is not None else ""
            for item in (
                [row_type, sheet_name]
                + get_menu_row(languages, media_image, media_audio)
                + [unique_id])]
Assemble the various pieces of data that make up a row in the
    modules and forms sheet sheet into a single row (a flat tuple).

    This function is meant as the single point of truth for the
    column ordering of this sheet.
Assemble the various pieces of data that make up a row in the
    modules and forms sheet sheet into a single row (a flat tuple).
Assemble the various pieces of data that make up a row in the modules and forms sheet sheet into a single row ( a flat tuple ) .
def get_modules_and_forms_row(row_type, sheet_name, languages, media_image, media_audio, unique_id):
    """
    Assemble the various pieces of data that make up a row in the
    modules and forms sheet sheet into a single row (a flat tuple).

    This function is meant as the single point of truth for the
    column ordering of this sheet.

    """
    assert row_type is not None
    assert sheet_name is not None
    assert isinstance(languages, list)
    assert isinstance(media_image, list)
    assert isinstance(media_audio, list)
    assert isinstance(unique_id, str), type(unique_id)

    return [item if item is not None else ""
            for item in (
                [row_type, sheet_name]
                + get_menu_row(languages, media_image, media_audio)
                + [unique_id])]
def get_modules_and_forms_row ( row_type , sheet_name , languages , media_image , media_audio , unique_id ) : assert row_type is not None assert sheet_name is not None assert isinstance ( languages , list ) assert isinstance ( media_image , list ) assert isinstance ( media_audio , list ) assert isinstance ( unique_id , str ) , type ( unique_id ) return [ item if item is not None else "" for item in ( [ row_type , sheet_name ] + get_menu_row ( languages , media_image , media_audio ) + [ unique_id ] ) ]