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_:
                # Get the prefix
                prefix = s3_str(filter_[0]).strip("[]")
                # Get the value for prefix
                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)

    # -------------------------------------------------------------------------
Downloads the Flickr image and returns the PIL image.
dataset/ETHPy150Open sahana/eden/modules/templates/SAMBRO/controllers.py/subscriptions._get_event_type_priorities--crossover with--dataset/ETHPy150Open cvondrick/pyvision/vision/flickr.py/Photo.download