Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
    def __init__(self):
        # Construct
        self.http = HttpClient(self)
        self.configuration = ConfigurationManager()

        self.__interfaces = construct_map(self)