Skip to content

constants

mlpype.base.constants

Provides constants used in mlpype.

Constants

Provides constants used in mlpype.

Source code in packages/mlpype-base/src/mlpype/base/constants.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class Constants:
    """Provides constants used in mlpype."""

    MODEL_FOLDER: str = "model"
    MODEL_CLASS_FILE: str = "model_class"
    MODEL_PARAM_FILE: str = "model_inputs_outputs.json"
    PIPELINE_FILE: str = "pipeline.pkl"
    INPUT_TYPE_CHECKER_FILE: str = "input_type_checker.pkl"
    OUTPUT_TYPE_CHECKER_FILE: str = "output_type_checker.pkl"
    EXTRA_FILES: str = "extra_files.json"
    SERIALISER_FILE: str = "serialiser.pkl"

    PYTHON_VERSION_FILE: str = "python_version.json"
    REQUIREMENTS_FILE: str = "requirements.txt"

    PLOT_FOLDER: str = "plots"

    PREDICTION_SUFFIX: str = "__prediction"