def best_model_path(self) -> str | None:
        """The path to the best model checkpoint.

        Returns:
            str: Path to the best model checkpoint.
        """
        if self.checkpoint_callback is None:
            return None
        return self.checkpoint_callback.best_model_path
The path to the best model checkpoint.

        Returns:
            str: Path to the best model checkpoint.
        
src/anomalib/engine/engine.py