Package pyperry :: Module response_parsers :: Class ResponseParser
[frames] | no frames]

Class ResponseParser

source code

object --+
         |
        ResponseParser
Known Subclasses:

This is the base class for all response parsers.

All subclasses should implement the parse method. To make your parser available to the Response class, you must add it to the Response.PARSERS dict using the format ('json', 'xml', etc.) as the key.

Instance Methods
 
parse(self, raw_str)
Returns a transformation of the raw response into native python objects
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__