3b3f5fe6fe2092a5071491fafce11b3851d07ce8,homeassistant/components/notify/instapush.py,,get_service,#Any#Any#,21

Before Change



        return None

    instapush = requests.Session()
    headers = {"x-instapush-appid": config[DOMAIN][CONF_API_KEY],
               "x-instapush-appsecret": config[DOMAIN]["app_secret"]}
    response = instapush.get(_RESOURCE + "events/list",
                             headers=headers)

After Change


            "Please create an app at https://instapush.im")
        return None

    return InstapushNotificationService(
        config[CONF_API_KEY], config["app_secret"], config["event"],
        config["tracker"])


// pylint: disable=too-few-public-methods
class InstapushNotificationService(BaseNotificationService):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 3b3f5fe6fe2092a5071491fafce11b3851d07ce8
Time: 2015-11-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/notify/instapush.py
Class Name:
Method Name: get_service


Project Name: uuazed/numerapi
Commit Name: 80e4f15860b6b002f2dd3f420eaeff63e202eb2f
Time: 2017-11-18
Author: wolfgang@steitz.me
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: upload_predictions


Project Name: home-assistant/home-assistant
Commit Name: afde5a6b2606e8d992e92f38d89912c97d71c548
Time: 2016-11-01
Author: molobrakos@users.noreply.github.com
File Name: homeassistant/components/device_tracker/volvooncall.py
Class Name:
Method Name: setup_scanner


Project Name: home-assistant/home-assistant
Commit Name: c51dd64bd860b20e003b69c65222f5be03d4b73b
Time: 2016-02-13
Author: dsmith@danplanet.com
File Name: homeassistant/components/thermostat/honeywell.py
Class Name:
Method Name: _setup_us