Did I find the right examples for you? yes no

All Samples(47)  |  Call(29)  |  Derive(12)  |  Import(6)

src/d/o/dodai-compute-HEAD/nova/api/openstack/limits.py   dodai-compute(Download)
class LimitsXMLSerializer(wsgi.XMLDictSerializer):
 
    xmlns = wsgi.XMLNS_V11
 
    def __init__(self):
 
    xml_serializer = {
        '1.0': wsgi.XMLDictSerializer(xmlns=xmlns, metadata=metadata),
        '1.1': LimitsXMLSerializer(),
    }[version]

src/d/o/dodai-compute-HEAD/nova/api/openstack/zones.py   dodai-compute(Download)
 
    body_serializers = {
        'application/xml': wsgi.XMLDictSerializer(xmlns=wsgi.XMLNS_V10,
                                                  metadata=metadata),
    }

src/d/o/dodai-compute-HEAD/nova/api/openstack/contrib/security_groups.py   dodai-compute(Download)
        metadata = _get_metadata()
        body_serializers = {
            'application/xml': wsgi.XMLDictSerializer(metadata=metadata,
                                                      xmlns=wsgi.XMLNS_V11),
        }

src/d/o/dodai-compute-HEAD/nova/api/openstack/ips.py   dodai-compute(Download)
class IPXMLSerializer(wsgi.XMLDictSerializer):
    def __init__(self, xmlns=wsgi.XMLNS_V11):
        super(IPXMLSerializer, self).__init__(xmlns=xmlns)
 
    def _ip_to_xml(self, xml_doc, ip_dict):
 
    xml_serializer = {
        '1.0': wsgi.XMLDictSerializer(metadata=metadata, xmlns=wsgi.XMLNS_V11),
        '1.1': IPXMLSerializer(),
    }[version]

src/d/o/dodai-compute-HEAD/nova/api/openstack/backup_schedules.py   dodai-compute(Download)
 
    body_serializers = {
        'application/xml': wsgi.XMLDictSerializer(xmlns=wsgi.XMLNS_V10,
                                                  metadata=metadata),
    }

src/d/o/dodai-compute-HEAD/nova/api/openstack/contrib/virtual_interfaces.py   dodai-compute(Download)
        metadata = _get_metadata()
        body_serializers = {
            'application/xml': wsgi.XMLDictSerializer(metadata=metadata,
                                                      xmlns=wsgi.XMLNS_V11)}
        serializer = wsgi.ResponseSerializer(body_serializers, None)

src/d/o/dodai-compute-HEAD/nova/api/openstack/flavors.py   dodai-compute(Download)
class FlavorXMLSerializer(wsgi.XMLDictSerializer):
 
    def __init__(self):
        super(FlavorXMLSerializer, self).__init__(xmlns=wsgi.XMLNS_V11)
 
 
    xml_serializer = {
        '1.0': wsgi.XMLDictSerializer(xmlns=wsgi.XMLNS_V10),
        '1.1': FlavorXMLSerializer(),
    }[version]

src/d/o/dodai-compute-HEAD/nova/api/openstack/users.py   dodai-compute(Download)
 
    body_serializers = {
        'application/xml': wsgi.XMLDictSerializer(metadata=metadata),
    }
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/accounts.py   dodai-compute(Download)
 
    body_serializers = {
        'application/xml': wsgi.XMLDictSerializer(metadata=metadata),
    }
    serializer = wsgi.ResponseSerializer(body_serializers)

src/d/o/dodai-compute-HEAD/nova/api/openstack/servers.py   dodai-compute(Download)
class ServerXMLSerializer(wsgi.XMLDictSerializer):
 
    xmlns = wsgi.XMLNS_V11
 
    def __init__(self):
 
    xml_serializer = {
        '1.0': wsgi.XMLDictSerializer(metadata, wsgi.XMLNS_V10),
        '1.1': ServerXMLSerializer(),
    }[version]

  1 | 2 | 3  Next