def extract_metadata(self, metadata_node):
        if metadata_node is None:
            return {}
        metadata = {}
        for meta_node in self.find_children_named(metadata_node, "meta"):
            key = meta_node.getAttribute("key")
            metadata[key] = self.extract_text(meta_node)
        return metadata
Marshal the metadata attribute of a parsed request
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/MetadataXMLDeserializer.extract_metadata