def GetStageClass(type_name):
  type_mod = importlib.import_module(
      ''
      'src.pipelines.stages.' + type_name.lower())
  return getattr(type_mod, type_name)
Get the class for a pipe for a given name.
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/src/pipelines/pipelines.py/GetStageClass