From 21052a42c84852c3964a9a29694e6d2a7fe3b9e8 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 3 Sep 2023 11:20:39 +0300 Subject: Check if Aggrofile has been changed at startup, add ConcatPlugin --- app/utils.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/utils.py') diff --git a/app/utils.py b/app/utils.py index ac07bf7..d513ae9 100644 --- a/app/utils.py +++ b/app/utils.py @@ -1,5 +1,16 @@ +from app.Item import Item + + def get_param(key: str, params: dict[str, str]) -> str: if key not in params: raise Exception(f"no {key} field in config entry: " + str(params)) return params[key] + + +def item_to_dict(item: Item) -> dict[str, str]: + raise NotImplemented() + + +def dict_to_item(d: dict[str, str]) -> Item: + raise NotImplemented() -- cgit v1.3