def create_resource(conf):
    deserializer = wsgi.JSONRequestDeserializer()
    serializer = wsgi.JSONResponseSerializer()
    return wsgi.Resource(Controller(conf), deserializer, serializer)
Image members resource factory method
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/api/v1/members.py/create_resource