Enums
zenml.enums
ExecutionStatus (StrEnum)
Enum that represents the current status of a step or pipeline run.
Source code in zenml/enums.py
class ExecutionStatus(StrEnum):
"""Enum that represents the current status of a step or pipeline run."""
FAILED = "failed"
COMPLETED = "completed"
RUNNING = "running"
CACHED = "cached"
LoggingLevels (Enum)
Enum for logging levels.
Source code in zenml/enums.py
class LoggingLevels(Enum):
"""Enum for logging levels."""
NOTSET = logging.NOTSET
ERROR = logging.ERROR
WARN = logging.WARN
INFO = logging.INFO
DEBUG = logging.DEBUG
CRITICAL = logging.CRITICAL
MetadataContextTypes (Enum)
All possible types that contexts can have within pipeline nodes
Source code in zenml/enums.py
class MetadataContextTypes(Enum):
"""All possible types that contexts can have within pipeline nodes"""
STACK = "stack"
PIPELINE_REQUIREMENTS = "pipeline_requirements"
StackComponentType (StrEnum)
All possible types a StackComponent
can have.
Source code in zenml/enums.py
class StackComponentType(StrEnum):
"""All possible types a `StackComponent` can have."""
ORCHESTRATOR = "orchestrator"
METADATA_STORE = "metadata_store"
ARTIFACT_STORE = "artifact_store"
CONTAINER_REGISTRY = "container_registry"
STEP_OPERATOR = "step_operator"
FEATURE_STORE = "feature_store"
SECRETS_MANAGER = "secrets_manager"
MODEL_DEPLOYER = "model_deployer"
EXPERIMENT_TRACKER = "experiment_tracker"
@property
def plural(self) -> str:
"""Returns the plural of the enum value."""
if self == StackComponentType.CONTAINER_REGISTRY:
return "container_registries"
return f"{self.value}s"
StoreType (StrEnum)
Repository Store Backend Types
Source code in zenml/enums.py
class StoreType(StrEnum):
"""Repository Store Backend Types"""
LOCAL = "local"
SQL = "sql"
REST = "rest"