From 01969c21391c61c915f39ebda8dfb758400a45f2 Mon Sep 17 00:00:00 2001 From: Stefan Crain Date: Wed, 13 Jun 2018 12:33:06 -0400 Subject: Correct session example --- docs/api-usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1