code: def _load_class_entry_point(cls, entry_point):
          
          class_ = entry_point.load()
          setattr(class_, 'plugin_name', entry_point.name)
          return class_
docs: Load `entry_point`, and set the `entry_point.name` as the
          attribute `plugin_name` on the loaded object