Document get_groups_for_user

pull/2686/head
Luke Barnard 2017-11-16 18:03:46 +00:00
parent 270f9cd23a
commit 4e8374856d
1 changed files with 6 additions and 0 deletions

View File

@ -274,6 +274,12 @@ class ApplicationService(object):
def get_groups_for_user(self, user_id):
"""Get the groups that this user is associated with by this AS
Args:
user_id (str): The ID of the user.
Returns:
iterable[str]: an iterable that yields group_id strings.
"""
return (
regex_obj["group_id"]