def __init__(self, username=None, password=None, live=False, timeout=None, proxies={}, recorder=None, **kwargs):
        self.host = self.PRODUCTION_HOST if live else self.DEVELOPMENT_HOST  # from the child API class
        self.url = "%s://%s" % (BaseAPI.protocol, self.host)
        self.username = username
        self.proxies = proxies
        self.headers = BaseAPI.default_headers.update({'Host': self.host})
        self.password = password
        self.timeout = timeout or BaseAPI.default_timeout
        self.logger = AvalaraLogging.get_logger()
        if recorder is None:
            recorder = get_django_recorder()
        self.recorder = recorder
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/BaseAPI.__init__/original