Skip to content

MLflow Experiment

laktory.models.resources.databricks.MLflowExperiment ¤

Bases: MlflowExperimentBase

MLflow Experiment

Examples:

import io

from laktory import models

exp_yaml = '''
name: /.laktory/Sample
artifact_location: dbfs:/tmp/my-experiment
description: My MLflow experiment description
access_controls:
- group_name: account users
  permission_level: CAN_MANAGE
'''
exp = models.resources.databricks.MLflowExperiment.model_validate_yaml(
    io.StringIO(exp_yaml)
)
References
BASE DESCRIPTION
artifact_location

Path to artifact location of the MLflow experiment

TYPE: str | None | VariableType DEFAULT: None

creation_time

TYPE: int | None | VariableType DEFAULT: None

description

TYPE: str | None | VariableType DEFAULT: None

experiment_id

TYPE: str | None | VariableType DEFAULT: None

last_update_time

TYPE: int | None | VariableType DEFAULT: None

lifecycle_stage

TYPE: str | None | VariableType DEFAULT: None

name

Name of MLflow experiment. It must be an absolute path within the Databricks workspace, e.g. /Users/<some-username>/my-experiment. For more information about changes to experiment naming conventions, see mlflow docs

TYPE: str | VariableType

tags

Tags for the MLflow experiment

TYPE: list[MlflowExperimentTags] | None | VariableType DEFAULT: None

timeouts

TYPE: MlflowExperimentTimeouts | None | VariableType DEFAULT: None

LAKTORY DESCRIPTION
access_controls

Access controls list

TYPE: list[AccessControl | VariableType] | VariableType DEFAULT: []

ATTRIBUTE DESCRIPTION
additional_core_resources
  • permissions

TYPE: list

additional_core_resources property ¤

  • permissions

laktory.models.resources.databricks.mlflowexperiment.MlflowExperimentTags ¤

Bases: BaseModel

PARAMETER DESCRIPTION
key

TYPE: str | None | VariableType DEFAULT: None

value

TYPE: str | None | VariableType DEFAULT: None


laktory.models.resources.databricks.mlflowexperiment.MlflowExperimentTimeouts ¤

Bases: BaseModel