Fixed dynamic loading of notifications, tasks and service. My last implementation was wrong and ugly. Now it seems to be the pythonic way.
This commit is contained in:
parent
0d41077eb6
commit
c17b061fd0
25 changed files with 104 additions and 15 deletions
|
|
@ -26,6 +26,10 @@ from logging import getLogger
|
|||
logger = getLogger('linspector')
|
||||
|
||||
|
||||
def get(configuration, environment):
|
||||
return FritzboxUplinkService(configuration, environment)
|
||||
|
||||
|
||||
# TODO: check for all required configuration options and set defaults if needed.
|
||||
class FritzboxUplinkService:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue