0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 02:53:51 +01:00

Document get_groups_for_user

This commit is contained in:
Luke Barnard 2017-11-16 18:03:46 +00:00
parent 270f9cd23a
commit 4e8374856d

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"]