1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 09:39:58 -05:00

Update vapiconnect.py

This commit is contained in:
Tianhao He 2017-10-19 18:39:34 -07:00 committed by GitHub
parent d2c2d2280e
commit 29bd63ba91

View File

@ -89,6 +89,7 @@ def logout(stub_config):
def create_unverified_session(session, suppress_warning=True): def create_unverified_session(session, suppress_warning=True):
""" """
Create a unverified session to disable the server certificate verification. Create a unverified session to disable the server certificate verification.
This is not recommended in production code.
""" """
session.verify = False session.verify = False
if suppress_warning: if suppress_warning: