RequestsManager

class app.util.requests.manager.RequestsManager[source]

Bases: object

Inheritance diagram of RequestsManager

Inheritance Diagram for RequestsManager

Methods

__init__()

human_readable_key_fn(request[, ...])

initialize(config[, install])

install()

Install the requests_cache with the given configuration.

session()

__init__()[source]
static __new__(cls, *args, **kwargs)[source]
human_readable_key_fn(request, ignored_parameters=None, match_headers=False, serializer=None, **request_kwargs)[source]
Return type:

str

Parameters:
initialize(config, install=False)[source]
Parameters:
install()[source]

Install the requests_cache with the given configuration.

session()[source]
Return type:

Any