def serialize(self, obj, *args, **kwargs):

        elem = self.make_tree(obj)
        if elem is None:
            return ''

        for k, v in self.serialize_options.items():
            kwargs.setdefault(k, v)

        # Serialize it into XML
        return etree.tostring(elem, *args, **kwargs)
Returns an empty list if the requested data doesn't exist
dataset/ETHPy150Open openstack/rack/rack/api/xmlutil.py/Template.serialize--crossover with--dataset/ETHPy150Open wcong/ants/ants/utils/datatypes.py/MultiValueDict.getlist