Skip to content

Commit 01969c2

Browse files
authored
Correct session example
1 parent 59a19ca commit 01969c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-usage.rst

+1-1
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)