class_docstr: The factory class for creating executors
class_docstr_tok: ["The","factory","class","for","creating","executors"]
code: def get_pydantic_model_config(self):
      model_list = []
      for k in self.registry:
          model_list.append(self.get_pydantic_constructor_arg_type(k))
      output = model_list[0]
      for m in model_list[1:]:
          output = Union[output, m]
      return output
  
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 6 for calling the SamplerFactory obj's underlying member method code with example usage: obj.get_pydantic_model_config() and returns: output