mlops.errors package

Module contents

Contains custom errors.

exception mlops.errors.InvalidDatasetCopyStrategyError

Bases: ValueError

Raised when a VersionedDatasetBuilder calls its publish method, and the dataset copy strategy is not one of the valid options.

exception mlops.errors.PublicationPathAlreadyExistsError

Bases: FileExistsError

Raised when a VersionedDatasetBuilder or VersionedModelBuilder object calls its publish method, and the path to which the object is published already exists.