def render(self, obj=None, media_type=None):
     """
     Renders *obj* into serialized XML.
     """
     if obj is None:
         return ''
     return dict2xml(obj)
Exemplo n.º 2
0
 def render(self, obj=None, media_type=None):
     """
     Renders *obj* into serialized XML.
     """
     if obj is None:
         return ''
     return dict2xml(obj)