def xml ( cls , res , * args , * * kwargs ) : return parse_xml ( res . text , * args , * * kwargs )
how to pass response as xml type in python
Parses XML from a response .
def xml(cls, res, *args, **kwargs):
        """Parses XML from a response."""
        return parse_xml(res.text, *args, **kwargs)