Skip to content

Commit d947522

Browse files
committed
fix: add a description to unused arguments
1 parent 29cf72a commit d947522

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/DIRAC/FrameworkSystem/private/authorization/AuthServer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ def generateProxyOrToken(
118118
):
119119
"""Generate proxy or tokens after authorization
120120
121-
:param client: client object
122-
:param grant_type: unuse
121+
:param client: instance of the IdP client
122+
:param grant_type: authorization grant type (unused)
123123
:param str user: user identificator
124124
:param str scope: requested scope
125-
:param expires_in: unuse
126-
:param bool include_refresh_token: unuse
125+
:param expires_in: when the token should expire (unused)
126+
:param bool include_refresh_token: to include refresh token (unused)
127127
128128
:return: dict or str -- will return tokens as dict or proxy as string
129129
"""

0 commit comments

Comments
 (0)