Did I find the right examples for you? yes no

All Samples(26)  |  Call(16)  |  Derive(9)  |  Import(1)

src/c/i/cimi-HEAD/cimi/cimiapp/cimibase.py   cimi(Download)
from nova.openstack.common import log as logging
from nova.api.openstack.wsgi import XMLDictSerializer, JSONDictSerializer
from nova.api.openstack.wsgi import XMLDeserializer, JSONDeserializer
from cimiutils import best_match
import copy

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/cells.py   nova(Download)
class CellDeserializer(wsgi.XMLDeserializer):
    """Deserializer to handle xml-formatted cell create requests."""
 
    def _extract_capabilities(self, cap_node):
        caps = {}

src/n/o/nova-HEAD/nova/api/openstack/common.py   nova(Download)
class MetadataXMLDeserializer(wsgi.XMLDeserializer):
 
    def extract_metadata(self, metadata_node):
        """Marshal the metadata attribute of a parsed request."""
        if metadata_node is None:

src/n/o/nova-gce-HEAD/nova/api/openstack/volume/contrib/volume_actions.py   nova-gce(Download)
class VolumeToImageDeserializer(wsgi.XMLDeserializer):
    """Deserializer to handle xml-formatted requests"""
    def default(self, string):
        dom = minidom.parseString(string)
        action_node = dom.childNodes[0]

src/n/o/nova-gce-HEAD/nova/api/openstack/common.py   nova-gce(Download)
class MetadataXMLDeserializer(wsgi.XMLDeserializer):
 
    def extract_metadata(self, metadata_node):
        """Marshal the metadata attribute of a parsed request"""
        if metadata_node is None:

src/d/o/dodai-compute-HEAD/nova/api/openstack/common.py   dodai-compute(Download)
class MetadataXMLDeserializer(wsgi.XMLDeserializer):
 
    def extract_metadata(self, metadata_node):
        """Marshal the metadata attribute of a parsed request"""
        if metadata_node is None:

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/services.py   nova(Download)
class ServiceUpdateDeserializer(wsgi.XMLDeserializer):
    def default(self, string):
        node = xmlutil.safe_minidom_parse_string(string)
        service = {}
        service_node = self.find_first_child_named(node, 'service')

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/hosts.py   nova(Download)
class HostUpdateDeserializer(wsgi.XMLDeserializer):
    def default(self, string):
        node = xmlutil.safe_minidom_parse_string(string)
 
        updates = {}

src/n/o/nova-gce-HEAD/nova/api/openstack/compute/contrib/hosts.py   nova-gce(Download)
class HostDeserializer(wsgi.XMLDeserializer):
    def default(self, string):
        try:
            node = minidom.parseString(string)
        except expat.ExpatError:

src/d/o/dodai-compute-HEAD/nova/api/openstack/create_instance_helper.py   dodai-compute(Download)
class ServerXMLDeserializer(wsgi.XMLDeserializer):
    """
    Deserializer to handle xml-formatted server create requests.
 
    Handles standard server attributes as well as optional metadata

  1 | 2 | 3  Next