示例#1
0
 def setupPushoverNotifier(self,
                           user_key="1234",
                           api_token=Interpolate("abcd"),
                           **kwargs):
     pn = PushoverNotifier(user_key, api_token, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     return pn
示例#2
0
 def setupPushoverNotifier(self,
                           user_key="1234",
                           api_token="abcd",
                           **kwargs):
     pn = PushoverNotifier(user_key, api_token, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     defer.returnValue(pn)
 def setupPushoverNotifier(self, user_key="1234", api_token=Interpolate("abcd"), **kwargs):
     pn = PushoverNotifier(user_key, api_token, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     return pn
示例#4
0
 def setupPushoverNotifier(self, user_key="1234", api_token="abcd", **kwargs):
     pn = PushoverNotifier(user_key, api_token, **kwargs)
     yield pn.setServiceParent(self.master)
     yield pn.startService()
     defer.returnValue(pn)