diff options
author | Stefan Crain <stefancrain@users.noreply.github.com> | 2018-06-13 12:33:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 12:33:06 -0400 |
commit | 01969c21391c61c915f39ebda8dfb758400a45f2 (patch) | |
tree | adc87c98ddcc1d9e651fbfdd8a1cc15b62a711bb | |
parent | 59a19ca36c6790e3c813cb2742efdf8c5fdb122e (diff) | |
download | gitlab-01969c21391c61c915f39ebda8dfb758400a45f2.tar.gz |
Correct session example
-rw-r--r-- | docs/api-usage.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 4c57c29..ede2d47 100644 --- a/docs/api-usage.rst +++ b/docs/api-usage.rst @@ -283,7 +283,7 @@ The following sample illustrates how to use a client-side certificate: import requests session = requests.Session() - s.cert = ('/path/to/client.cert', '/path/to/client.key') + session.cert = ('/path/to/client.cert', '/path/to/client.key') gl = gitlab.gitlab(url, token, api_version=4, session=session) Reference: |