class_docstr: The factory class for creating executors
class_docstr_tok: ["The","factory","class","for","creating","executors"]
code: def get_pipeline_enum(cls):
      enum_class = enum.Enum(
          "PipelineName", {k: k for k, v in cls.registry.items()}
      )
      return enum_class
  
imports: import enum
  import inspect
  import logging
  from abc import ABC, abstractmethod, abstractstaticmethod
  from pathlib import Path
  from typing import Callable, Dict, List, Optional, Tuple, Union
  import yaml
  from dgl.dataloading.negative_sampler import GlobalUniform, PerSourceUniform
  from numpydoc import docscrape
  from pydantic import create_model, create_model_from_typeddict, Field
  from typing_extensions import Literal
  from .base_model import DGLBaseModel
label_desc: Use image node_id 5 for calling the PipelineFactory obj's underlying member method code with example usage: obj.get_pipeline_enum(cls) and returns: enum_class