We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f19f959 commit c886c5dCopy full SHA for c886c5d
docs/api-usage.rst
@@ -25,7 +25,7 @@ To connect to a GitLab server, create a ``gitlab.Gitlab`` object:
25
gl = gitlab.Gitlab('http://10.0.0.1', 'JVNSESs8EwWRx5yDxM5q')
26
27
# oauth authentication
28
- gl = gitlab.Gitlab('http://10.0.0.1', my_oauth2_token)
+ gl = gitlab.Gitlab('http://10.0.0.1', oauth_token='my_oauth2_token')
29
30
# or username/password authentication
31
gl = gitlab.Gitlab('http://10.0.0.1', email='jdoe', password='s3cr3t')
0 commit comments