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
DatabaseBackupStrategy
EnvironmentType
ExecutionStatus
Bases: StrEnum
Enum that represents the current status of a step or pipeline run.
Attributes
is_finished: bool
property
Whether the execution status refers to a finished execution.
Returns:
Type | Description |
---|---|
bool
|
Whether the execution status refers to a finished execution. |
GenericFilterOps
LoggingLevels
Bases: Enum
Enum for logging levels.
LogicalOperators
MetadataResourceTypes
ModelStages
OAuthDeviceStatus
OAuthGrantTypes
OnboardingStep
OperatingSystemType
PluginSubType
PluginType
ResponseUpdateStrategy
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 |
|