There was an error while loading. Please reload this page.
1 parent 746c25f commit 3774ec2Copy full SHA for 3774ec2
1 file changed
docs/api-usage.rst
@@ -38,7 +38,8 @@ To connect to GitLab.com or another GitLab instance, create a ``gitlab.Gitlab``
38
gl = gitlab.Gitlab('https://gitlab.example.com', user_agent='my-package/1.0.0')
39
40
# make an API request to create the gl.user object. This is mandatory if you
41
- # use the username/password authentication (not required for job token authentication).
+ # use the username/password authentication - not required for token authentication,
42
+ # and will not work with job tokens.
43
gl.auth()
44
45
You can also use configuration files to create ``gitlab.Gitlab`` objects:
0 commit comments