8000 Merge pull request #530 from stefancrain/master · mattthias/python-gitlab@3f88ad0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f88ad0

Browse files
author
Gauvain Pocentek
authored
Merge pull request python-gitlab#530 from stefancrain/master
Correct session example
2 parents 59a19ca + 01969c2 commit 3f88ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The following sample illustrates how to use a client-side certificate:
283283
import requests
284284
285285
session = requests.Session()
286-
s.cert = ('/path/to/client.cert', '/path/to/client.key')
286+
session.cert = ('/path/to/client.cert', '/path/to/client.key')
287287
gl = gitlab.gitlab(url, token, api_version=4, session=session)
288288
289289
Reference:

0 commit comments

Comments
 (0)
0