python duneapi.py 1105134
Traceback (most recent call last):
File "duneapi-client-python/duneapi.py", line 106, in
rows = execute_query_and_get_results(query_id, api_key)
File "duneapi-client-python/duneapi.py", line 81, in execute_query_and_get_results
dune = DuneAPI(api_key)
File "duneapi-client-python/duneapi.py", line 25, in init
self.client = httpx.Client(headers=self.headers)
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_client.py", line 647, in init
super().init(
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_client.py", line 179, in init
self.headers = Headers(headers)
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_models.py", line 69, in init
self._list = [
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_models.py", line 73, in
normalize_header_value(v, encoding),
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_utils.py", line 54, in normalize_header_value
return value.encode(encoding or "ascii")
AttributeError: 'NoneType' object has no attribute 'encode'
python duneapi.py 1105134 Traceback (most recent call last): File "duneapi-client-python/duneapi.py", line 106, in
rows = execute_query_and_get_results(query_id, api_key)
File "duneapi-client-python/duneapi.py", line 81, in execute_query_and_get_results
dune = DuneAPI(api_key)
File "duneapi-client-python/duneapi.py", line 25, in init
self.client = httpx.Client(headers=self.headers)
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_client.py", line 647, in init
super().init(
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_client.py", line 179, in init
self.headers = Headers(headers)
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_models.py", line 69, in init
self._list = [
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_models.py", line 73, in
normalize_header_value(v, encoding),
File "anaconda3/envs/jina/lib/python3.9/site-packages/httpx/_utils.py", line 54, in normalize_header_value
return value.encode(encoding or "ascii")
AttributeError: 'NoneType' object has no attribute 'encode'