Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/e/m/emesene-HEAD/mesinyer/e3/base/Worker.py   emesene(Download)
    def _set_handlers(self):
        '''set a dict with the action id as key and the handler as value'''
        dah = {}
 
        dah[Action.ACTION_ADD_CONTACT] = self._handle_action_add_contact

src/e/m/emesene-HEAD/mesinyer/e3/base/Session.py   emesene(Download)
    def add_contact(self, account):
        '''add the contact to our contact list'''
        self.add_action(Action.ACTION_ADD_CONTACT, (account,))
 
    def remove_contact(self, account):