You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example in the readme does not work for me on python 3.4.
Here's an example that does work for me -- just sharing.
import codecs
reader = codecs.getreader("utf-8")
for result in bulk.get_all_results_for_query_batch(batch):
converted_result = IteratorBytesIO(result)
result_list = json.load(reader(converted_result))
for row in result_list:
print(row) # dictionary rows
The text was updated successfully, but these errors were encountered:
The example in the readme does not work for me on python 3.4.
Here's an example that does work for me -- just sharing.
The text was updated successfully, but these errors were encountered: