http_sync module

exception http_sync.CircuitOpenError(service, endpoint)[source]

Bases: RequestException

Parameters:
  • service (str)

  • endpoint (str)

__init__(service, endpoint)[source]

Initialize RequestException with request and response objects.

Parameters:
  • service (str)

  • endpoint (str)

http_sync.get_session()[source]
Return type:

Session

http_sync.request(method, url, **kwargs)[source]
Parameters: