ci: initial commit

This commit is contained in:
2018-12-02 15:59:42 -06:00
commit 7cfc8e5a41
4 changed files with 57 additions and 0 deletions

16
apps/__init__.py Normal file
View 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
View 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