diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-01 19:31:47 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-10 19:01:00 +0300 |
| commit | 398799de0c1826c3544eb6eec681fa48096932a0 (patch) | |
| tree | c2a2cf7fcf30276ffc432e7a1750efd6b7d2c8bf /src/PluginInterface.py | |
| parent | b7f129b29b8b8103336bfae265b3d5a0bc5ea03a (diff) | |
Refactor
Diffstat (limited to 'src/PluginInterface.py')
| -rw-r--r-- | src/PluginInterface.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/PluginInterface.py b/src/PluginInterface.py deleted file mode 100644 index c6be538..0000000 --- a/src/PluginInterface.py +++ /dev/null @@ -1,18 +0,0 @@ -from abc import ABC, abstractmethod -from typing import Any - -from Item import Item - - -class PluginInterface(ABC): - def __init__(self, id: str, params: dict[str, Any]): - self.id = id - self.params = params - - @abstractmethod - def validate_input_n(self, n: int) -> bool: - raise NotImplemented("abstract method not implemented") - - @abstractmethod - def process(self, inputs: list[list[Item]]) -> list[Item]: - pass |
