RESTClientObject
50 return self.urllib3_response.getheader(name, default)
51
52
53class RESTClientObject(object): 54 def __init__(self, configuration, pools_size=4, maxsize=None):
55 # urllib3.PoolManager will pass all kw parameters to connectionpool
56 # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
RESTResponse
34logger = logging.getLogger(__name__)
35
36
37class RESTResponse(io.IOBase): 38 def __init__(self, resp):
39 self.urllib3_response = resp
40 self.status = resp.status
ApiException
370 )
371
372
373class ApiException(Exception):374 def __init__(self, status=None, reason=None, http_resp=None):
375 if http_resp:
376 self.status = http_resp.status
Class docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.