From 398799de0c1826c3544eb6eec681fa48096932a0 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 1 Sep 2023 19:31:47 +0300 Subject: Refactor --- src/PluginInterface.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/PluginInterface.py (limited to 'src/PluginInterface.py') 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 -- cgit v1.3