original_docstring: 
      Default verify=False for all request calls for simplicity in this demo.
      Do not do this in production!
      From https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests
      
docstring: Default verify=False for all request calls for simplicity in this demo.
  Do not do this in production.
docstring_tokens: Default verify = False for all request calls for simplicity in this demo . Do not do this in production .
code: def no_ssl_verification():
      """
      Default verify=False for all request calls for simplicity in this demo.
      Do not do this in production!
      From https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests
      """
      opened_adapters = set()
  
      def merge_environment_settings(self, url, proxies, stream, verify, cert):
          # Verification happens only once per connection so we need to close
          # all the opened adapters once we're done. Otherwise, the effects of
          # verify=False persist beyond the end of this context manager.
          opened_adapters.add(self.get_adapter(url))
  
          settings = old_merge_environment_settings(self, url, proxies, stream, verify, cert)
          settings['verify'] = False
  
          return settings
  
      requests.Session.merge_environment_settings = merge_environment_settings
  
      try:
          with warnings.catch_warnings():
              warnings.simplefilter('ignore', InsecureRequestWarning)
              yield
      finally:
          requests.Session.merge_environment_settings = old_merge_environment_settings
  
          for adapter in opened_adapters:
              try:
                  adapter.close()
              except:
                  pass
code_tokens: def no_ssl_verification ( ) : opened_adapters = set ( ) def merge_environment_settings ( self , url , proxies , stream , verify , cert ) : opened_adapters . add ( self . get_adapter ( url ) ) settings = old_merge_environment_settings ( self , url , proxies , stream , verify , cert ) settings [ 'verify' ] = False return settings requests . Session . merge_environment_settings = merge_environment_settings try : with warnings . catch_warnings ( ) : warnings . simplefilter ( 'ignore' , InsecureRequestWarning ) yield finally : requests . Session . merge_environment_settings = old_merge_environment_settings for adapter in opened_adapters : try : adapter . close ( ) except : pass
short_docstring: Default verify=False for all request calls for simplicity in this demo.
short_docstring_tokens: Default verify = False for all request calls for simplicity in this demo .
comment: """
      Default verify=False for all request calls for simplicity in this demo.
      Do not do this in production!
      From https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests
      """$SEP$# Verification happens only once per connection so we need to close$SEP$# all the opened adapters once we're done. Otherwise, the effects of$SEP$# verify=False persist beyond the end of this context manager.