Browse Source

Merge pull request #212 from Miiha/feature/pagination-performance

Reduce amount of paginated requests.
pull/224/head
Marcos Pereira 3 years ago
committed by GitHub
parent
commit
8ea16ee6d3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      keycloak/keycloak_admin.py

2
keycloak/keycloak_admin.py

@ -223,6 +223,8 @@ class KeycloakAdmin:
if not partial_results:
break
results.extend(partial_results)
if len(partial_results) < query['max']:
break
page += 1
return results

Loading…
Cancel
Save