Skip to content

Commit

Permalink
runner: Improve Pipeline.model_id comment
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Nov 14, 2024
1 parent 7459c3b commit 3c4a2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/app/pipelines/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c4a2e4

Please sign in to comment.