Skip to content

Commit 930246e

Browse files
committed
Fix :rtype: for ensure_token
1 parent 68c76e9 commit 930246e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gogs_client/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def ensure_token(self, auth, name, username=None):
9393
:param str username: username of owner of new token
9494
9595
:return: token authenticator
96-
:rtype: Token
96+
:rtype: TokenInfo
9797
:raises NetworkFailure: if there is an error communicating with the server
9898
:raises ApiFailure: if the request cannot be serviced
9999
"""

0 commit comments

Comments
 (0)