From f50f6cf4d83970042803fb6290020d203aea4345 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 2 Oct 2022 05:04:31 +0200 Subject: [PATCH] Comments update. --- files/docs/.gitkeep | 0 linspector/core/task.py | 3 +++ requirements.txt | 10 +++++----- 3 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 files/docs/.gitkeep diff --git a/files/docs/.gitkeep b/files/docs/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/linspector/core/task.py b/linspector/core/task.py index a7325d0..c11bb2b 100644 --- a/linspector/core/task.py +++ b/linspector/core/task.py @@ -61,6 +61,9 @@ class Task: raise e +# i believe the singleton pattern is not required here because all tasks are stored as singleton in +# a dict already, and they can be executed directly in the equivalent monitor. need to discover this +# when tasks are being implemented. @Singleton class TaskExecutor: def __init__(self): diff --git a/requirements.txt b/requirements.txt index a93d60d..dfe57aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ APScheduler==3.9.1 # (required) -CherryPy==18.8.0 # (optional) -fritzconnection==1.10.3 # (optional, used by fritzuplink service) +CherryPy==18.8.0 # (optional, used by the httpserver plugin) +fritzconnection==1.10.3 # (optional, used by the fritzboxuplink service) python-gammu==3.2.4 # (optional, used by the sms notification) -paramiko==2.11.0 # (optional, used by ssh service) -pysnmp==4.4.12 # (optional, used by snmp services) -requests==2.28.1 # (optional, used by speedtest service) +paramiko==2.11.0 # (optional, used by the ssh service) +pysnmp==4.4.12 # (optional, used by the snmp service) +requests==2.28.1 # (optional, used by the speedtest service) xmpp2==0.4 # (optional, used by the xmpp notification) \ No newline at end of file