Enums
zenml.enums
ZenML enums.
Classes
APITokenType
AnalyticsEventSource
AnnotationTasks
ArtifactSaveType
ArtifactType
AuthScheme
CliCategories
Bases: StrEnum
All possible categories for CLI commands.
Note: The order of the categories is important. The same order is used to sort the commands in the CLI help output.
ColorVariants
ContainerRegistryFlavor
CuratedVisualizationSize
DatabaseBackupStrategy
DeploymentStatus
DownloadType
EnvironmentType
ExecutionMode
ExecutionStatus
Bases: StrEnum
Enum that represents the execution status of a step or pipeline run.
Attributes
is_failed: bool
property
Whether the execution status refers to a failed execution.
Returns:
| Type | Description |
|---|---|
bool
|
Whether the execution status refers to a failed execution. |
is_finished: bool
property
Returns whether the execution status is in a finished state.
Returns:
| Type | Description |
|---|---|
bool
|
Whether the execution status is finished. |
is_successful: bool
property
Whether the execution status refers to a successful execution.
Returns:
| Type | Description |
|---|---|
bool
|
Whether the execution status refers to a successful execution. |
GenericFilterOps
LoggingLevels
Bases: Enum
Enum for logging levels.
LogicalOperators
MetadataResourceTypes
ModelStages
OAuthDeviceStatus
OAuthGrantTypes
OnboardingStep
OperatingSystemType
PipelineRunTriggeredByType
PluginSubType
PluginType
ResponseUpdateStrategy
SecretResourceTypes
SecretValidationLevel
SecretsStoreType
ServerProviderType
ServiceState
SorterOps
SourceContextTypes
StackComponentType
Bases: StrEnum
All possible types a StackComponent can have.
Attributes
plural: str
property
Returns the plural of the enum value.
Returns:
| Type | Description |
|---|---|
str
|
The plural of the enum value. |
StackDeploymentProvider
StepRunInputArtifactType
StoreType
StrEnum
Bases: str, Enum
Base enum type for string enum values.
Functions
names() -> List[str]
classmethod
Get all enum names as a list of strings.
Returns:
| Type | Description |
|---|---|
List[str]
|
A list of all enum names. |
Source code in src/zenml/utils/enum_utils.py
31 32 33 34 35 36 37 38 | |
values() -> List[str]
classmethod
Get all enum values as a list of strings.
Returns:
| Type | Description |
|---|---|
List[str]
|
A list of all enum values. |
Source code in src/zenml/utils/enum_utils.py
40 41 42 43 44 45 46 47 | |
TaggableResourceTypes
VisualizationResourceTypes
Bases: StrEnum
Resource types that support curated visualizations.
Curated visualizations can be attached to these ZenML resources to provide contextual dashboards and visual insights throughout the ML lifecycle:
- DEPLOYMENT: Server-side pipeline deployments - surface visualizations on deployment monitoring dashboards and status pages
- MODEL: ZenML model entities - surface model evaluation dashboards and performance summaries directly on the model detail pages
- PIPELINE: Pipeline definitions - associate visualizations with pipeline configurations for reusable visual documentation
- PIPELINE_RUN: Pipeline execution runs - attach visualizations to specific run results for detailed analysis and debugging
- PIPELINE_SNAPSHOT: Pipeline snapshots - link visualizations to captured pipeline configurations for version comparison and historical analysis
- PROJECT: Project-level overviews - provide high-level project dashboards and KPI visualizations for cross-pipeline insights