object
PYL-R0205 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
19from harbor_client.configuration import Configuration
20
21
22class WorkerPool(object): 23 """NOTE: This class is auto generated by the swagger code generator program.
24
25 Do not edit the class manually.
19from harbor_client.configuration import Configuration
20
21
22class Worker(object): 23 """NOTE: This class is auto generated by the swagger code generator program.
24
25 Do not edit the class manually.
19from harbor_client.configuration import Configuration
20
21
22class WebhookTargetObject(object): 23 """NOTE: This class is auto generated by the swagger code generator program.
24
25 Do not edit the class manually.
19from harbor_client.configuration import Configuration
20
21
22class WebhookPolicy(object): 23 """NOTE: This class is auto generated by the swagger code generator program.
24
25 Do not edit the class manually.
The class is inheriting from object
, which is implicit under Python 3 , hence can be safely removed from bases.
Not preferred:
class Foo(object):
"""Foo bar baz"""
Preferred:
class Foo:
"""Foo bar baz"""