From e05dfe63724ae4aa4845c6fb5e7f8d5aa0974e16 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 3 Sep 2023 17:56:52 +0300 Subject: Implement RSS spec stuff --- app/PluginInterface.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/PluginInterface.py') 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 -- cgit v1.3