diff options
Diffstat (limited to 'app/PluginInterface.py')
| -rw-r--r-- | app/PluginInterface.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/PluginInterface.py b/app/PluginInterface.py index 6492ed1..6bc5513 100644 --- a/app/PluginInterface.py +++ b/app/PluginInterface.py @@ -1,11 +1,13 @@ from abc import ABC, abstractmethod -from typing import Any +from typing import TypeAlias from app.Item import Item +Params: TypeAlias = dict[str, str] + class PluginInterface(ABC): - def __init__(self, id: str, params: dict[str, Any]): + def __init__(self, id: str, params: Params): self.id = id self.params = params |
