Skip to content

type

mlte/artifact/type.py

MLTE artifact type implementation.

The artifact type enumeration is partitioned from the artifact model implementation because it allows us to avoid a circular dependency amongst the artifact base model, individual artifact models, and the type enum.

ArtifactType

Bases: StrEnum

Enumerates all supported artifact types.

Source code in mlte/artifact/type.py
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class ArtifactType(StrEnum):
    """Enumerates all supported artifact types."""

    NEGOTIATION_CARD = "negotiation_card"
    """The negotiation card artifact type."""

    VALUE = "value"
    """The value card artifact type."""

    SPEC = "spec"
    """The specification artifact type."""

    VALIDATED_SPEC = "validated_spec"
    """The validated specification artifact type."""

    REPORT = "report"
    """The report artifact type."""

NEGOTIATION_CARD = 'negotiation_card' class-attribute instance-attribute

The negotiation card artifact type.

REPORT = 'report' class-attribute instance-attribute

The report artifact type.

SPEC = 'spec' class-attribute instance-attribute

The specification artifact type.

VALIDATED_SPEC = 'validated_spec' class-attribute instance-attribute

The validated specification artifact type.

VALUE = 'value' class-attribute instance-attribute

The value card artifact type.