3b3f5fe6fe2092a5071491fafce11b3851d07ce8,homeassistant/components/notify/xmpp.py,,get_service,#Any#Any#,28
Before Change
config[DOMAIN]["recipient"],
"")
except ImportError:
_LOGGER.exception(
"Unable to contact jabber server."
"Please check your credentials.")
return None
return XmppNotificationService(config[DOMAIN]["sender"],
After Change
def get_service(hass, config):
Get the Jabber (XMPP) notification service.
if not validate_config({DOMAIN : config},
{DOMAIN: ["sender", "password", "recipient"]},
_LOGGER):
return None
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: home-assistant/home-assistant
Commit Name: 3b3f5fe6fe2092a5071491fafce11b3851d07ce8
Time: 2015-11-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/notify/xmpp.py
Class Name:
Method Name: get_service
Project Name: home-assistant/home-assistant
Commit Name: 9f54bcc21b1744f2850a35e54903f3581d14badb
Time: 2015-12-23
Author: marhje52@kth.se
File Name: homeassistant/components/mysensors.py
Class Name:
Method Name: setup
Project Name: wandb/client
Commit Name: 32e4a9a68dbf3b91c4a91ae800ae46ad0d7832e8
Time: 2020-08-07
Author: vanpelt@gmail.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name:
Method Name: init
Project Name: wandb/client
Commit Name: 32e4a9a68dbf3b91c4a91ae800ae46ad0d7832e8
Time: 2020-08-07
Author: vanpelt@gmail.com
File Name: wandb/sdk/wandb_init.py
Class Name:
Method Name: init