Skip to content

MLflow Model

laktory.models.resources.databricks.MLflowModel ¤

Bases: BaseModel, PulumiResource, TerraformResource

MLflow Model

ATTRIBUTE DESCRIPTION
access_controls

MLflow model access controls

TYPE: list[AccessControl]

description

The description of the MLflow model.

TYPE: str

name

Name of MLflow model. Change of name triggers new resource.

TYPE: str

tags

Tags for the MLflow model.

TYPE: list[MlflowModelTag]

Examples:

from laktory import models

mlmodel = models.resources.databricks.MLflowModel(
    name="My MLflow Model",
    description="My MLflow model description",
    tags=[
        {"key": "key1", "value": "value1"},
        {"key": "key2", "value": "value2"},
    ],
    access_controls=[
        {
            "group_name": "account users",
            "permission_level": "CAN_MANAGE_PRODUCTION_VERSIONS",
        }
    ],
)
ATTRIBUTE DESCRIPTION
additional_core_resources
  • permissions

TYPE: list[PulumiResource]

Attributes¤

additional_core_resources property ¤

additional_core_resources
  • permissions

--

laktory.models.resources.databricks.mlflowmodel.MlflowModelTag ¤

Bases: BaseModel

MLflow model Tags Specifications

ATTRIBUTE DESCRIPTION
key

TYPE: str

value

TYPE: str