File size: 376 Bytes
dd7488f
 
 
8de7c36
dd7488f
 
 
 
 
 
 
8de7c36
1
2
3
4
5
6
7
8
9
10
11
12
13
import core.pipelines as pipelines_functions
from inspect import getmembers, isfunction


def get_pipelines():
    pipeline_names, pipeline_funcs = list(
        zip(*getmembers(pipelines_functions, isfunction))
    )
    pipeline_names = [
        " ".join([n.capitalize() for n in name.split("_")]) for name in pipeline_names
    ]
    return pipeline_names, pipeline_funcs