From 3c4a2e4a54ba178d8c806a1b0752d1ecdad50f66 Mon Sep 17 00:00:00 2001 From: Victor Elias Date: Thu, 14 Nov 2024 11:08:50 -0300 Subject: [PATCH] runner: Improve Pipeline.model_id comment --- runner/app/pipelines/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/app/pipelines/base.py b/runner/app/pipelines/base.py index 06a6d181..e2f32d78 100644 --- a/runner/app/pipelines/base.py +++ b/runner/app/pipelines/base.py @@ -5,7 +5,7 @@ class Pipeline(ABC): @abstractmethod def __init__(self, model_id: str, model_dir: str): - self.model_id: str # type hint so we can use the field in routes + self.model_id: str # declare the field here so the type hint is available when using this abstract class raise NotImplementedError("Pipeline should implement an __init__ method") @abstractmethod