code: def use_gae_thread():
      
      global _THREAD_CLASS  # pylint: disable=global-statement
      try:
          from google.appengine.api.background_thread import background_thread
          _THREAD_CLASS = background_thread.BackgroundThread
      except ImportError:
          _logger.error(
              u'Could not install appengine background threads!'
              u' Please install the python AppEngine SDK and use this from there')
docs: Makes ``Client``s started after this use the appengine thread class.