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

Commitb4e9ab7

Browse files
docs: add minimal docs about theenable_debug() method
Add some minimal documentation about the `enable_debug()` method.
1 parenta3b4824 commitb4e9ab7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎docs/api-usage.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ To connect to GitLab.com or another GitLab instance, create a ``gitlab.Gitlab``
5050
# to validate your token authentication. Note that this will not work with job tokens.
5151
gl.auth()
5252
53+
# Enable "debug" mode. This can be useful when trying to determine what
54+
# information is being sent back and forth to the GitLab server.
55+
# Note: this will cause credentials and other potentially sensitive
56+
# information to be printed to the terminal.
57+
gl.enable_debug()
58+
5359
You can also use configuration files to create ``gitlab.Gitlab`` objects:
5460

5561
..code-block::python

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp