def get(self, id_or_url):
        url = self.url(id_or_url)
        response = self.client.get(url)
        response.raise_for_status()
        data = response.json()
        data.pop('id')
        notified_at = data.pop('notified_at', None)
        user = data.pop('user', None)
        trigger = self._coerce_trigger(data)
        trigger._data['id'] = id_or_url
        if notified_at:
            trigger._data['notified_at'] = self._parse_datetime(notified_at)
        if user:
            trigger._data['user'] = user
        trigger._manager = self
        return trigger
Fetch and return an existing trigger.
dataset/ETHPy150Open xively/xively-python/xively/managers.py/TriggersManager.get