Disable result streaming from API methods by default
By default we should disable streaming of the results from API methods that support it. This is because streaming keeps the socket open until all the data has been read; this surprises users and can cause problems if they are doing something involving time consuming processing on each result. So return a list of all results unless the caller explicitly asks for streaming (in which case, return an iterable instead)
#1 Updated by Robert Illingworth over 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Implemented in 9c939ec
The CLI operations for list-files and list-definitions still use streaming so it doesn't need to build up a large intermediate list before displaying anything.