Closed
Bug 1191380
Opened 11 years ago
Closed 11 years ago
Enable fetching of full sets of paginated items
Categories
(Tree Management Graveyard :: Treeherder: Client Libraries, defect)
Tree Management Graveyard
Treeherder: Client Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgraham, Assigned: jgraham)
Details
Attachments
(1 file)
Some treeherder collections will only allow fetching N items at a time. This is something that every API user currently has to work around because there isn't any abstraction for it in the client.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8643768 -
Flags: review?(mdoglio)
Updated•11 years ago
|
Attachment #8643768 -
Flags: review?(mdoglio) → review+
Comment 2•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/962d19ba84c23c6601c63fad8f8d3239a1a22c7f
Bug 1191380 - Support for getting a complete list from paginated collections, r=mdoglio
Some collections can only return a limited number of results at a time. This
change allows the user to get all results by passing count=None to the relevant
get_ method of TreeherderClient, and letting the client perform enough requests
to fetch all results.
Updated•11 years ago
|
Assignee: nobody → james
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•