def __init__(self, adapter_kwargs=None): # Set parameter defaults if adapter_kwargs is None: adapter_kwargs = {} adapter_kwargs.setdefault('max_retries', 3) # Construct self.http = HttpClient(self, adapter_kwargs) self.configuration = ConfigurationManager() self.__interfaces = construct_map(self)
def __init__(self): # Construct self.http = HttpClient(self) self.configuration = ConfigurationManager() self.__interfaces = construct_map(self)