Skip to content
Snippets Groups Projects
Commit 2dd8a442 authored by Martin's avatar Martin
Browse files

use cached paginate in selection

parent 10377420
No related branches found
No related tags found
No related merge requests found
Pipeline #74337 passed
......@@ -576,7 +576,7 @@ class HTRDataGenerator:
return trimmed_img
def run_selection(self):
selected_elems = [e for e in self.api_client.paginate("ListSelection")]
selected_elems = [e for e in self.api_client.cached_paginate("ListSelection")]
for elem_type, elems_of_type in groupby(
selected_elems, key=lambda x: x["type"]
):
......
  • Thibault Lavigne @tlavigne

    mentioned in commit 2f72d0a5

    By Martin Maarand on 2022-03-07T11:40:31 (imported from GitLab)

    ·

    mentioned in commit 2f72d0a5

    By Martin Maarand on 2022-03-07T11:40:31 (imported from GitLab)

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment