Skip to content

model

Model implementation for MLTE context information.

Model

Bases: BaseModel

Model implementation for MLTE model identifier.

Source code in mlte/context/model.py
15
16
17
18
19
20
21
22
class Model(BaseModel):
    """Model implementation for MLTE model identifier."""

    identifier: str
    """The identifier for the model."""

    versions: List[Version] = []
    """A collection of the model versions."""

identifier instance-attribute

The identifier for the model.

versions = [] class-attribute instance-attribute

A collection of the model versions.

Version

Bases: BaseModel

Model implementation for MLTE model version.

Source code in mlte/context/model.py
 8
 9
10
11
12
class Version(BaseModel):
    """Model implementation for MLTE model version."""

    identifier: str
    """The identifier for the model version."""

identifier instance-attribute

The identifier for the model version.