container-registry / harbor-api-client

Missing class docstring PY-D0002
Documentation
Minor
a year agoa year old
Docstring missing for class 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
Docstring missing for class 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
Docstring missing for class 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