diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 4c57c29c3..ede2d4785 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: