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

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)
Load the config.yaml file and validate it's contents within
reason

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/webhook.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
 
        ServerHeraldNotifyBase.validate_config(self)
 

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/pushover.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
 
        ServerHeraldNotifyBase.validate_config(self)
 

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/prowl.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
 
        ServerHeraldNotifyBase.validate_config(self)
 

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/pagerduty.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
 
        ServerHeraldNotifyBase.validate_config(self)
 

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/mail.py   serverherald(Download)
    def validate_config(self):
        """Email notifications require a `to` and `from` address"""
        ServerHeraldNotifyBase.validate_config(self)
 
        if not self.config_has('email') or not self.config_has('email', 'to'):

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/twilio.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
 
        ServerHeraldNotifyBase.validate_config(self)
 

src/s/e/serverherald-1-0.0.1/serverherald/notifiers/nexmo.py   serverherald(Download)
    def validate_config(self):
        """Verify that all required config settings are present"""
        ServerHeraldNotifyBase.validate_config(self)
 
        # Nexmo requires an API key, API secret, a from and a to phone