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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/d/a/dagobah-0.2.3/dagobah/email/text.py   dagobah(Download)
    def send_job_completed(self, data):
        self.message = MIMEText(self._job_to_text(data))
        self._construct_and_send('Job Completed: %s' % data.get('name', None))
 
 
    def send_job_failed(self, data):
        self.message = MIMEText(self._job_to_text(data))
        self._construct_and_send('Job Failed: %s' % data.get('name', None))
    def send_task_failed(self, data):
        self.message = MIMEText(self._task_to_text(data))
        self._construct_and_send('Task Failed: %s' % data.get('name', None))
 
 

src/d/a/dagobah-0.2.3/dagobah/email/basic.py   dagobah(Download)
 
        self.message = self._merge_templates(template, css)
        self._construct_and_send('Job Completed: %s' % data.get('name', None))
 
 
 
        self.message = self._merge_templates(template, css)
        self._construct_and_send('Job Failed: %s' % data.get('name', None))
 
 
 
        self.message = self._merge_templates(template, css)
        self._construct_and_send('Task Failed: %s' % data.get('name', None))