def get_output_model_by_id(self, model_id: str) -> Optional[ModelOutput]:
        """Get the output model by its ID.

        Args:
            model_id: The ID of the model to retrieve

        """
        for model in self.get_output_models():
            if model.model_id == model_id:
                return model
        return None
Get the output model by its ID.

        Args:
            model_id: The ID of the model to retrieve

        
olive/engine/output.py