OpenSTEFVersionCompatibilityError#

class openstef_core.exceptions.OpenSTEFVersionCompatibilityError(run_id: str, model_version: str | None, runtime_version: str)[source]#

Bases: ModelLoadingError

Exception raised when an MLflow model was created with an incompatible OpenSTEF version.

Parameters:
__init__(run_id: str, model_version: str | None, runtime_version: str)[source]#

Initialize the exception with the model run and version details.

Parameters:
  • run_id (str) – MLflow run that contains the incompatible model.

  • model_version (str | None) – OpenSTEF version recorded on the run, if present.

  • runtime_version (str) – OpenSTEF version used by the current process.

  • run_id

  • model_version

  • runtime_version