1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-10 18:15:39 +00:00

docstring

This commit is contained in:
Felix Grzelka 2026-06-03 09:53:58 +00:00
parent 35c87a4a12
commit b76bf6e271

View file

@ -1090,7 +1090,8 @@ class KeycloakAPI:
If the username is not found, None is returned.
:param username: Username of the user to fetch.
:param realm: Realm in which the user resides; default 'master'"""
:param realm: Realm in which the user resides; default 'master'
"""
users_url = URL_USERS.format(url=self.baseurl, realm=realm)
if username is not None:
users_url += f"?username={quote(username, safe='')}&exact=true"