Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc53e695

Browse files
JohnVillalovosnejch
authored andcommitted
docs: correct rotate token example
Rotate token returns a dict. Change example to print the entire dict.Closes:#2836
1 parent001e596 commitc53e695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/gl_objects/personal_access_tokens.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Rotate a personal access token and retrieve its new value::
5858
token.rotate()
5959
print(token.token)
6060
# or directly using a token ID
61-
new_token = gl.personal_access_tokens.rotate(42)
62-
print(new_token.token)
61+
new_token_dict = gl.personal_access_tokens.rotate(42)
62+
print(new_token_dict)
6363

6464
Create a personal access token for a user (admin only)::
6565

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp