diff --git a/ibm_platform_services/global_catalog_v1.py b/ibm_platform_services/global_catalog_v1.py index cde4009..fd654f6 100644 --- a/ibm_platform_services/global_catalog_v1.py +++ b/ibm_platform_services/global_catalog_v1.py @@ -68,6 +68,7 @@ def new_instance( def __init__( self, authenticator: Authenticator = None, + disable_ssl_verification: bool = False ) -> None: """ Construct a new client for the Global Catalog service. @@ -76,7 +77,8 @@ def __init__( Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ - BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) + BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator, + disable_ssl_verification=disable_ssl_verification) ######################### # Object diff --git a/ibm_platform_services/global_search_v2.py b/ibm_platform_services/global_search_v2.py index 793c310..d8d51f1 100644 --- a/ibm_platform_services/global_search_v2.py +++ b/ibm_platform_services/global_search_v2.py @@ -76,7 +76,8 @@ def __init__( Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md about initializing the authenticator of your choice. """ - BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator) + BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator, + disable_ssl_verification=authenticator.token_manager.disable_ssl_verification) ######################### # Search