11# coding: utf-8
22
3- # © Copyright IBM Corporation 2020.
3+ # © Copyright IBM Corporation 2020, 2021 .
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
2727
2828old_init = CloudantV1 .__init__
2929
30- # pylint: disable=missing-function-docstring
31- def new_init (self , authenticator : Authenticator = None ):
30+
31+ def new_init (self , authenticator : Authenticator = None ): # pylint: disable=missing-docstring
3232 old_init (self , authenticator )
3333 if isinstance (authenticator , CouchDbSessionAuthenticator ):
3434 # Replacing BaseService's http.cookiejar.CookieJar as RequestsCookieJar supports update(CookieJar)
@@ -38,8 +38,8 @@ def new_init(self, authenticator: Authenticator = None):
3838
3939old_set_service_url = CloudantV1 .set_service_url
4040
41- # pylint: disable=missing-function-docstring
42- def new_set_service_url (self , service_url : str ):
41+
42+ def new_set_service_url (self , service_url : str ): # pylint: disable=missing-docstring
4343 old_set_service_url (self , service_url )
4444 try :
4545 if isinstance (self .authenticator , CouchDbSessionAuthenticator ):
@@ -50,8 +50,8 @@ def new_set_service_url(self, service_url: str):
5050
5151old_set_default_headers = CloudantV1 .set_default_headers
5252
53- # pylint: disable=missing-function-docstring
54- def new_set_default_headers (self , headers : Dict [str , str ]):
53+
54+ def new_set_default_headers (self , headers : Dict [str , str ]): # pylint: disable=missing-docstring
5555 old_set_default_headers (self , headers )
5656 if isinstance (self .authenticator , CouchDbSessionAuthenticator ):
5757 combined_headers = {}
@@ -66,8 +66,8 @@ def new_set_default_headers(self, headers: Dict[str, str]):
6666
6767old_set_disable_ssl_verification = CloudantV1 .set_disable_ssl_verification
6868
69- # pylint: disable=missing-function-docstring
70- def new_set_disable_ssl_verification (self , status : bool = False ) -> None :
69+
70+ def new_set_disable_ssl_verification (self , status : bool = False ) -> None : # pylint: disable=missing-docstring
7171 old_set_disable_ssl_verification (self , status )
7272 if isinstance (self .authenticator , CouchDbSessionAuthenticator ):
7373 self .authenticator .token_manager .set_disable_ssl_verification (status )
0 commit comments