Browse Source

Paginate get_groups

pull/20/head
Akos Hencz 5 years ago
parent
commit
ffdb7509c2
  1. 3
      keycloak/keycloak_admin.py

3
keycloak/keycloak_admin.py

@ -419,8 +419,7 @@ class KeycloakAdmin:
:return: array GroupRepresentation
"""
params_path = {"realm-name": self.realm_name}
data_raw = self.connection.raw_get(URL_ADMIN_GROUPS.format(**params_path))
return raise_error_from_response(data_raw, KeycloakGetError)
return self.__fetch_all(URL_ADMIN_GROUPS.format(**params_path))
def get_group(self, group_id):
"""

Loading…
Cancel
Save