ci: initial commit
This commit is contained in:
16
apps/__init__.py
Normal file
16
apps/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
class TaskService(object):
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
|
||||
def add():
|
||||
raise NotImplementedError()
|
||||
|
||||
def modify():
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
14
apps/grocy.py
Normal file
14
apps/grocy.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from twservices.apps import TaskService
|
||||
|
||||
class Grocy(TaskService):
|
||||
|
||||
def __init__(self, config):
|
||||
self.api_token = config.api_token
|
||||
self.logger = config.logger
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user