Did I find the right examples for you? yes no

All Samples(10)  |  Call(9)  |  Derive(1)  |  Import(0)

src/d/o/dodai-compute-HEAD/nova/api/openstack/versions.py   dodai-compute(Download)
class VersionsRequestDeserializer(wsgi.RequestDeserializer):
    def get_expected_content_type(self, request):
        supported_content_types = list(self.supported_content_types)
        if request.path != '/':
            # Remove atom+xml accept type for 300 responses
                               'application/atom+xml')
    deserializer = wsgi.RequestDeserializer(
        supported_content_types=supported_content_types)
 
    return wsgi.Resource(controller, serializer=serializer,

src/d/o/dodai-compute-HEAD/nova/api/openstack/contrib/security_groups.py   dodai-compute(Download)
            'application/xml': SecurityGroupXMLDeserializer(),
        }
        deserializer = wsgi.RequestDeserializer(body_deserializers)
 
        res = extensions.ResourceExtension('os-security-groups',
            'application/xml': SecurityGroupRulesXMLDeserializer(),
        }
        deserializer = wsgi.RequestDeserializer(body_deserializers)
 
        res = extensions.ResourceExtension('os-security-group-rules',

src/d/o/dodai-compute-HEAD/nova/api/openstack/servers.py   dodai-compute(Download)
 
    serializer = wsgi.ResponseSerializer(body_serializers, headers_serializer)
    deserializer = wsgi.RequestDeserializer(body_deserializers)
 
    return wsgi.Resource(controller, deserializer, serializer)

src/d/o/dodai-compute-HEAD/nova/api/openstack/zones.py   dodai-compute(Download)
        'application/xml': helper.ServerXMLDeserializer(),
    }
    deserializer = wsgi.RequestDeserializer(body_deserializers)
 
    return wsgi.Resource(controller, deserializer, serializer)

src/d/o/dodai-compute-HEAD/nova/api/openstack/server_metadata.py   dodai-compute(Download)
    }
    serializer = wsgi.ResponseSerializer(body_serializers, headers_serializer)
    deserializer = wsgi.RequestDeserializer(body_deserializers)
 
    return wsgi.Resource(Controller(), deserializer, serializer)

src/d/o/dodai-compute-HEAD/nova/api/openstack/image_metadata.py   dodai-compute(Download)
    }
    serializer = wsgi.ResponseSerializer(body_serializers, headers_serializer)
    deserializer = wsgi.RequestDeserializer(body_deserializers)
 
    return wsgi.Resource(Controller(), deserializer, serializer)

src/d/o/dodai-compute-HEAD/nova/api/openstack/contrib/createserverext.py   dodai-compute(Download)
        serializer = wsgi.ResponseSerializer(body_serializers,
                                             headers_serializer)
        deserializer = wsgi.RequestDeserializer(body_deserializers)
 
        res = extensions.ResourceExtension('os-create-server-ext',

src/d/o/dodai-compute-HEAD/nova/tests/api/openstack/test_wsgi.py   dodai-compute(Download)
        }
 
        self.deserializer = wsgi.RequestDeserializer(self.body_deserializers)
 
    def tearDown(self):