alphagov/performanceplatform-client — pull request #36 by robyoung (2014-10-06 09:40:53+00:00)
Title: Convert DataSet.post data to list if 0 chunk size

Now that data can be a generator (lazy sequence), if the chunk size is
set to 0 (ie. no chunking) we must evaluate the sequence to avoid the
json serializer attempting to serialize a generator directly. This is
done by converting it to a list.