Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit de2ac6e

Browse files
committed
Fix recursive search for get_groups_by_parent
1 parent f70afa3 commit de2ac6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

grouper_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
Client = GrouperClient
66

7-
__version__ = "0.1.2"
7+
__version__ = "0.1.3"
88
__all__ = ["GrouperClient"]

grouper_python/group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ def get_groups_by_parent(
215215
}
216216
}
217217
if recursive:
218-
body["WsRestFindGroupsLiteRequest"]["parentStemNameScope"] = "ALL_IN_SUBTREE"
218+
body["WsRestFindGroupsLiteRequest"]["stemNameScope"] = "ALL_IN_SUBTREE"
219219
else:
220-
body["WsRestFindGroupsLiteRequest"]["parentStemNameScope"] = "ONE_LEVEL"
220+
body["WsRestFindGroupsLiteRequest"]["stemNameScope"] = "ONE_LEVEL"
221221
r = client._call_grouper(
222222
"/groups",
223223
body,

0 commit comments

Comments
 (0)