You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pipeline_template_base.py 467B

1234567891011121314151617
  1. from abc import ABC, abstractmethod
  2. class PipelineTemplateRetrievalBase(ABC):
  3. """Interface for pipeline template retrieval."""
  4. @abstractmethod
  5. def get_pipeline_templates(self, language: str) -> dict:
  6. raise NotImplementedError
  7. @abstractmethod
  8. def get_pipeline_template_detail(self, template_id: str) -> dict | None:
  9. raise NotImplementedError
  10. @abstractmethod
  11. def get_type(self) -> str:
  12. raise NotImplementedError