Traceback (most recent call last):

 "bigquery_test.py", line 6, in <module>
result = client.query(query, timeout_ms=1000)AttributeError: 'Client' object has no attribute 'query'
Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/root/curlflare-venv/local/lib/python2.7/site-packages/cfscrape/__init__.py", line 369, in get_cookie_string

tokens, user_agent = cls.get_tokens(url, user_agent=user_agent, **kwargs)


 "/root/curlflare-venv/local/lib/python2.7/site-packages/cfscrape/__init__.py", line 336, in get_tokens

resp = scraper.get(url, **kwargs)


 "/root/curlflare-venv/local/lib/python2.7/site-packages/requests/sessions.py", line 546, in get

return self.request('GET', url, **kwargs)


 "/root/curlflare-venv/local/lib/python2.7/site-packages/cfscrape/__init__.py", line 128, in request

resp = self.solve_cf_challenge(resp, **kwargs)


 "/root/curlflare-venv/local/lib/python2.7/site-packages/cfscrape/__init__.py", line 195, in solve_cf_challenge

redirect_location = urlparse(redirect.headers["Location"])


 "/root/curlflare-venv/local/lib/python2.7/site-packages/requests/structures.py", line 52, in __getitem__

return self._store[key.lower()][1]
KeyError: 'location'
