Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Str FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Raise NameLoad Assign NameStore Str If CompareIn Str Call NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareIn Str Call NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str Call NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad Str attr ListLoad Call AttributeLoad Str attr BinOpMult Str Num Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr BinOpMult Str Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad Call AttributeLoad Str attr BinOpMult Str Num Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr BinOpMult Str Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr BinOpMult Str Num Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Dict Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Dict Assign NameStore NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr BoolOpOr NameLoad Dict If CompareIn Str Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Delete SubscriptDel NameLoad Index Str If CompareIn Str Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Delete SubscriptDel NameLoad Index Str For NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad Assign NameStore Call NameLoad Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Call AttributeLoad Str attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad Dict If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad Dict Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A requests N/A six time time cafe.common.reporting cclogging cafe.engine.clients.base BaseClient requests.packages urllib3 N/A N/A N/A urllib3 disable_warnings _log_transaction N/A N/A log level N/A N/A N/A cclogging logging DEBUG N/A _safe_decode N/A N/A text incoming errors N/A utf-8 replace N/A N/A Decodes incoming text/bytes string using `incoming`
               if they're not already unicode.

            :param incoming: Text's current encoding
            :param errors: Errors handling policy. See here for valid
                values http://docs.python.org/2/library/codecs.html
            :returns: text or a unicode `incoming` encoded
                        representation of it.
             N/A N/A isinstance text N/A six text_type N/A N/A text N/A N/A N/A text decode incoming errors N/A N/A  Paramaterized decorator
    Takes a python Logger object and an optional logging level.
     _decorator N/A N/A func N/A N/A N/A Accepts a function and returns wrapped version of that function. _wrapper N/A N/A N/A args kwargs N/A N/A Logging wrapper for any method that returns a requests response.
            Logs requestslib response objects, and the args and kwargs
            sent to the request() method, to the provided log at the provided
            log level.
             N/A logline N/A N/A {0} {1} format args kwargs N/A N/A N/A N/A N/A log debug N/A _safe_decode logline N/A N/A N/A Exception N/A exception N/A N/A N/A N/A log info Exception occured while logging signature of callingmethod in http client N/A N/A N/A log exception exception N/A response None N/A elapsed None N/A N/A N/A start N/A time N/A response N/A func args kwargs N/A elapsed N/A N/A time start N/A N/A N/A Exception N/A exception N/A N/A N/A N/A log critical Call to Requests failed due to exception N/A N/A N/A log exception exception N/A exception N/A request_body N/A N/A body N/A dir N/A response request N/A N/A request_body N/A N/A response request body N/A N/A N/A data N/A dir N/A response request N/A N/A request_body N/A N/A response request data N/A N/A N/A N/A log info Unable to log request body, neither a 'data' nor a 'body' object could be found N/A request_params N/A request_url N/A N/A response request url N/A N/A params N/A dir N/A response request N/A N/A request_params N/A N/A response request params N/A N/A N/A ? request_url N/A N/A N/A request_url request_params N/A N/A request_url split ? 1 N/A logline N/A N/A join N/A N/A N/A 
{0}
REQUEST SENT
{0}
 format N/A - 12 N/A N/A request method..: {0}
 format N/A N/A response request method N/A N/A request url.....: {0}
 format request_url N/A N/A request params..: {0}
 format request_params N/A N/A request headers.: {0}
 format N/A N/A response request headers N/A N/A request body....: {0}
 format request_body N/A N/A N/A N/A N/A log log level N/A _safe_decode logline N/A N/A N/A Exception N/A exception N/A N/A N/A N/A log log level N/A N/A 
{0}
REQUEST INFO
{0}
 format N/A - 12 N/A N/A N/A log exception exception N/A logline N/A N/A join N/A N/A N/A 
{0}
RESPONSE RECEIVED
{0}
 format N/A - 17 N/A N/A response status..: {0}
 format response N/A N/A response time....: {0}
 format elapsed N/A N/A response headers.: {0}
 format N/A response headers N/A N/A response body....: {0}
 format N/A response content N/A - 79 N/A N/A N/A N/A N/A log log level N/A _safe_decode logline N/A N/A N/A Exception N/A exception N/A N/A N/A N/A log log level N/A N/A 
{0}
RESPONSE INFO
{0}
 format N/A - 13 N/A N/A N/A log exception exception N/A response N/A N/A _wrapper N/A N/A _decorator N/A _inject_exception N/A N/A exception_handlers N/A N/A N/A Paramaterized decorator takes a list of exception_handler objects _decorator N/A N/A func N/A N/A N/A Accepts a function and returns wrapped version of that function. _wrapper N/A N/A N/A args kwargs N/A N/A Wrapper for any function that returns a Requests response.
            Allows exception handlers to raise custom exceptions based on
            response object attributes such as status_code.
             N/A response N/A func args kwargs N/A exception_handlers N/A N/A handler exception_handlers N/A N/A N/A N/A handler check_for_errors response N/A response N/A N/A _wrapper N/A N/A _decorator N/A BaseHTTPClient N/A BaseClient N/A N/A Re-implementation of Requests' api.py that removes many assumptions.
    Adds verbose logging.
    Adds support for response-code based exception injection.
    (Raising exceptions based on response code)

    @see: http://docs.python-requests.org/en/latest/api/#configurations
     N/A _exception_handlers N/A N/A _log N/A N/A cclogging getLogger __name__ __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BaseHTTPClient self __init__ N/A request N/A N/A self method url N/A kwargs N/A N/A  Performs <method> HTTP request to <url> using the requests lib N/A N/A N/A requests request method url kwargs N/A N/A _inject_exception _exception_handlers N/A _log_transaction log _log put N/A N/A self url N/A kwargs N/A N/A  HTTP PUT request  N/A N/A N/A self request PUT url kwargs N/A copy N/A N/A self url N/A kwargs N/A N/A  HTTP COPY request  N/A N/A N/A self request COPY url kwargs N/A post N/A N/A self url data N/A None kwargs N/A N/A  HTTP POST request  N/A N/A N/A self request POST url data data kwargs N/A get N/A N/A self url N/A kwargs N/A N/A  HTTP GET request  N/A N/A N/A self request GET url kwargs N/A head N/A N/A self url N/A kwargs N/A N/A  HTTP HEAD request  N/A N/A N/A self request HEAD url kwargs N/A delete N/A N/A self url N/A kwargs N/A N/A  HTTP DELETE request  N/A N/A N/A self request DELETE url kwargs N/A options N/A N/A self url N/A kwargs N/A N/A  HTTP OPTIONS request  N/A N/A N/A self request OPTIONS url kwargs N/A patch N/A N/A self url N/A kwargs N/A N/A  HTTP PATCH request  N/A N/A N/A self request PATCH url kwargs N/A add_exception_handler N/A N/A cls handler N/A N/A N/A Adds a specific L{ExceptionHandler} to the HTTP client
        @warning: SHOULD ONLY BE CALLED FROM A PROVIDER THROUGH A TEST
                  FIXTURE
         N/A N/A N/A N/A cls _exception_handlers append handler N/A classmethod delete_exception_handler N/A N/A cls handler N/A N/A N/A Removes a L{ExceptionHandler} from the HTTP client
        @warning: SHOULD ONLY BE CALLED FROM A PROVIDER THROUGH A TEST
                  FIXTURE
         N/A N/A handler N/A cls _exception_handlers N/A N/A N/A N/A N/A cls _exception_handlers remove handler N/A classmethod N/A HTTPClient N/A BaseHTTPClient N/A N/A 
    @summary: Allows clients to inherit all requests-defined RESTful
              verbs. Redefines request() so that keyword args are passed
              through a named dictionary instead of kwargs.
              Client methods can then take parameters that may overload
              request parameters, which allows client method calls to
              override parts of the request with parameters sent directly
              to requests, overriding the client method logic either in
              part or whole on the fly.

    @see: http://docs.python-requests.org/en/latest/api/#configurations
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HTTPClient self __init__ N/A N/A self default_headers N/A N/A request N/A N/A self method url headers params data requestslib_kwargs N/A None None None None N/A N/A requestslib_kwargs N/A N/A requestslib_kwargs None requestslib_kwargs N/A N/A params N/A N/A params None params N/A N/A verify False N/A headers N/A dict N/A self default_headers N/A headers N/A N/A N/A url N/A list N/A N/A requestslib_kwargs keys N/A N/A url N/A N/A N/A requestslib_kwargs get url None url N/A N/A requestslib_kwargs N/A url N/A N/A method N/A list N/A N/A requestslib_kwargs keys N/A N/A method N/A N/A N/A requestslib_kwargs get method None method N/A N/A requestslib_kwargs N/A method N/A key N/A list N/A N/A requestslib_kwargs keys N/A N/A N/A N/A requestslib_kwargs N/A key None N/A N/A N/A requestslib_kwargs N/A key N/A requestslib_kwargs N/A dict N/A headers params verify data headers params verify data requestslib_kwargs N/A N/A N/A N/A super HTTPClient self request method url requestslib_kwargs N/A N/A AutoMarshallingHTTPClient N/A HTTPClient N/A N/A @TODO: Turn serialization and deserialization into decorators so
    that we can support serialization and deserialization on a per-method
    basis __init__ N/A N/A self serialize_format deserialize_format N/A None None N/A N/A N/A N/A N/A super AutoMarshallingHTTPClient self __init__ N/A N/A self serialize_format serialize_format N/A N/A self deserialize_format N/A deserialize_format N/A self serialize_format N/A N/A self default_headers N/A Content-Type N/A N/A application/{format} format format serialize_format N/A request N/A N/A self method url headers params data response_entity_type request_entity requestslib_kwargs N/A None None None None None None N/A N/A requestslib_kwargs N/A N/A requestslib_kwargs None requestslib_kwargs N/A N/A N/A request_entity None N/A N/A requestslib_kwargs N/A dict N/A data N/A N/A request_entity serialize N/A self serialize_format requestslib_kwargs N/A response N/A N/A N/A super AutoMarshallingHTTPClient self request method url headers headers params params data data requestslib_kwargs requestslib_kwargs N/A N/A N/A N/A response request __dict__ N/A entity None N/A N/A N/A response __dict__ N/A entity None N/A N/A N/A response request None N/A N/A N/A N/A N/A response request __dict__ N/A entity request_entity N/A N/A response_entity_type None N/A N/A N/A N/A response __dict__ N/A entity N/A N/A response_entity_type deserialize N/A response content N/A self deserialize_format N/A response N/A N/A