def image_list(
        self,
        detailed=False,
        public=False,
        private=False,
        **filter
    ):

        url = "/images"
        if detailed or public or private:
            # Because we can't all use /details
            url += "/detail"

        image_list = self.list(url, **filter)['images']

        if public != private:
            # One is True and one is False, so public represents the filter
            # state in either case
            image_list = [i for i in image_list if i['is_public'] == public]

        return image_list
Get available images
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/api/image_v1.py/APIv1.image_list