-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSV return format #5
Comments
Yes! This means Babbage itself can return a stream to write directly to a file server for static aggregation. |
@akariv we'd certainly want to be able to write aggregate endpoints for a single package as CSV. |
We are definitely doing this, but it might be in the next sprint so I'm putting on backlog for now. |
This seems to be implemented but generates invalid CSV when the values contain commas because it's just joining values with , It should probably use https://docs.python.org/2/library/csv.html#csv.DictWriter |
All HTTP API queries should be able to return a simple CSV response. In a fancy scenario, this would allow switching between naming the columns according to logical model fields and the original column names which are mentioned in the model.
This should use streaming responses, rather than pre-generating the full response.
The text was updated successfully, but these errors were encountered: