aboutsummaryrefslogtreecommitdiffstats
path: root/app/AggroConfig.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-10 11:19:57 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-10 19:01:00 +0300
commitbead581a92c51ab1e7f18161972d73c6ffa3eb3f (patch)
treed32d3b6ac80c3b8260ccc8045473b5dddcdbba59 /app/AggroConfig.py
parent0b1712bf34ddd0bfe54a0f19eab7ef7c31e7f444 (diff)
Add dotenv and env var in config support
Diffstat (limited to 'app/AggroConfig.py')
-rw-r--r--app/AggroConfig.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/AggroConfig.py b/app/AggroConfig.py
index 7e6a5f3..789fd6b 100644
--- a/app/AggroConfig.py
+++ b/app/AggroConfig.py
@@ -1,10 +1,12 @@
from dataclasses import dataclass
+from app.PluginInterface import Params
+
@dataclass
class AggroConfig:
server_host: str
server_port: int
db_path: str
- plugins: dict[str, dict[str, str]]
+ plugins: dict[str, Params]
graph: dict[str, list[str]]