-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
We are submitting api status requests for jobs and including size parameter matching to our batch size. When we do that, we get back 1 less record than the batch size. We have to adjust size to be batch size + 1. So a batch size of 10 records means size parameter must be set to 11 to get back 10 records. Hence this works:
query = '?page=0&size=' + str(int(options.batch)+1) + '&sortDirection=ASC&sortField=submitterSampleId&submissionId=' + submission_id;
So I'm guessing you would want to adjust the conditional on size so this incrementing isn't needed?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation