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
CSVStreamingRenderer is great, it works as a generator along with tabelize which also works as a generator. However, you cannot pass a Generator object in as your data to be rendered. This code in CSVStreamingRenderer causes the issue:
ifnotisinstance(data, list):
data= [data]
A generator object is not a type list, so the if statement evaluates to true so this code breaks the renderer for a Generator object.
I have successfully used this with a generator as the data source by changing that to:
CSVStreamingRenderer is great, it works as a generator along with tabelize which also works as a generator. However, you cannot pass a Generator object in as your data to be rendered. This code in CSVStreamingRenderer causes the issue:
A generator object is not a type list, so the if statement evaluates to true so this code breaks the renderer for a Generator object.
I have successfully used this with a generator as the data source by changing that to:
PR on it's way...
The text was updated successfully, but these errors were encountered: