'Returns an array of tab dictionaries.'

def get_tab_type_dicts(self, tab_types):

    if tab_types:
        return [{'tab_type': tab_type} for tab_type in tab_types.split(',')]
    else:
        return []
