def connect(self, topic, cb):
        arr = self._connects.setdefault(topic, [])
        arr.append(cb)
        return {'topic' : topic, 'cb' : cb}
Create a new entry or update an existing one.
dataset/ETHPy150Open parente/pyttsx/pyttsx/engine.py/Engine.connect--crossover with--dataset/ETHPy150Open StackStorm/st2/st2api/st2api/controllers/v1/auth.py/ApiKeyController.post