code: def get_pelican_cls(settings):
      '''Get the Pelican class requested in settings'''
      cls = settings['PELICAN_CLASS']
      if isinstance(cls, six.string_types):
          module, cls_name = cls.rsplit('.', 1)
          module = __import__(module)
          cls = getattr(module, cls_name)
      return clf get_pelican_cls(settings):
      '''Get the Pelican class requested in settings'''
      cls = settings['PELICAN_CLASS']
      if isinstance(cls, six.string_types):
          module, cls_name = cls.rsplit('.', 1)
          module = __import__(module)
          cls = getattr(module, cls_name)
      return cls
docs: Get the Pelican class requested in settings