Пример #1
0
 def unregister(self):
     self._do_unregister_request()
     Registry.unregister(self.NAME)
Пример #2
0
def unregister():
    Registry.unregister()
Пример #3
0
 def register(self):
     LOGGER.info('Registering {}'.format(self.NAME))
     self.reg_id = Registry.register(self.NAME, self)
     if not self._do_register_request():
         Registry.unregister(self.NAME)