'Returns the event type and list of priorities for the filters'

def _get_event_type_priorities(self, filters):

    event_types = []
    priorities = []
    filters_ = json.loads(filters)
    filters_ = [filter_ for filter_ in filters_ if (filter_[1] is not None)]
    if (len(filters_) > 0):
        for filter_ in filters_:
            prefix = s3_str(filter_[0]).strip('[]')
            values = filter_[1].split(',')
            if (prefix == 'event_type_id__belongs'):
                event_types = [int(s3_str(values[0]))]
            elif (prefix == 'priority__belongs'):
                priorities = [int(s3_str(value)) for value in values]
    return (event_types, priorities)
