Browse Source

Paginate get_group_members

hotfix/merge
Akos Hencz 5 years ago
parent
commit
147646e56f
  1. 3
      keycloak/keycloak_admin.py

3
keycloak/keycloak_admin.py

@ -465,8 +465,7 @@ class KeycloakAdmin:
:return: Keycloak server response (UserRepresentation) :return: Keycloak server response (UserRepresentation)
""" """
params_path = {"realm-name": self.realm_name, "id": group_id} params_path = {"realm-name": self.realm_name, "id": group_id}
data_raw = self.connection.raw_get(URL_ADMIN_GROUP_MEMBERS.format(**params_path), **query)
return raise_error_from_response(data_raw, KeycloakGetError)
return self.__fetch_all(URL_ADMIN_GROUP_MEMBERS.format(**params_path), query)
def get_group_by_path(self, path, search_in_subgroups=False): def get_group_by_path(self, path, search_in_subgroups=False):
""" """

Loading…
Cancel
Save