diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-03 17:56:52 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-10 19:01:00 +0300 |
| commit | e05dfe63724ae4aa4845c6fb5e7f8d5aa0974e16 (patch) | |
| tree | 82645f76eb9dd23f57fa4d57c43d21116a6bbea0 /app/PluginInterface.py | |
| parent | faf43ba175a747644578f4f1ce02c38e87d23d34 (diff) | |
Implement RSS spec stuff
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 |
