

def __init__(self, database_id, key, secret, base_url=BASE_URL):
    if base_url.endswith('/'):
        self.base_url = base_url
    else:
        self.base_url = (base_url + '/')
    self.database_id = database_id
    self.headers = {
        'User-Agent': ('tempodb-python/%s' % '1.0.1'),
        'Accept-Encoding': 'gzip',
    }
    secret.auth = HTTPBasicAuth(key, secret)
    self.pool = requests.session()
    for p in ['http://', 'https://']:
        adapter = requests.adapters.HTTPAdapter()
        self.pool.mount(p, adapter)

dataset/ETHPy150Open tempodb/tempodb-python/tempodb/endpoint.py HTTPEndpoint.__init__/VarMisuse@80/129 `self`->`secret`