python-gitlab SSL ERROR
2019-12-10 本文已影响0人
车到山前必有路2021
import gitlab
url='https://xxxx:yy'
token='xxxxxx'
session = requests.Session()
session.verify = False
#session.cert = ('/path/to/client.cert', '/path/to/client.key')
git_lab = gitlab.Gitlab(url, token, api_version=4, session=session)