Experiments

Package: databricks.bundles.experiments

Classes

class ExperimentPermissionLevel

Permission level

CAN_MANAGE = 'CAN_MANAGE'
CAN_EDIT = 'CAN_EDIT'
CAN_READ = 'CAN_READ'
class ExperimentTag

A tag for an experiment.

key: str | None = None

The tag key.

value: str | None = None

The tag value.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class Lifecycle
prevent_destroy: bool | None = None

Lifecycle setting to prevent the resource from being destroyed.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class MlflowExperiment
name: str

Experiment name.

artifact_location: str | None = None

Location where all artifacts for the experiment are stored. If not provided, the remote server will select an appropriate default.

lifecycle: Lifecycle | None = None

Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.

permissions: list[MlflowExperimentPermission]

The permissions to apply to this resource.

tags: list[ExperimentTag]

A collection of tags to set on the experiment. Maximum tag size and number of tags per request depends on the storage backend. All storage backends are guaranteed to support tag keys up to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also guaranteed to support up to 20 tags per request.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class MlflowExperimentPermission
level: ExperimentPermissionLevel

The permission level to apply. The allowed levels depend on the resource type.

group_name: str | None = None

The name of the group granted the permission level.

service_principal_name: str | None = None

The name of the service principal granted the permission level.

user_name: str | None = None

The name of the user granted the permission level.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict