Esempio n. 1
0
 def __init__(self, name, ui):
     util.KegbotThread.__init__(self, name)
     self._lcdui = ui
     self._client = kbapi.Client()
Esempio n. 2
0
 def __init__(self, api_url=None, api_key=None):
     self._logger = logging.getLogger('api-backend')
     self._client = kbapi.Client(api_url=api_url, api_key=api_key)