def create_resource(conf):
    deserializer = CachedImageDeserializer()
    serializer = CachedImageSerializer()
    return wsgi.Resource(Controller(conf), deserializer, serializer)
Cached Images resource factory method
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/api/cached_images.py/create_resource