wei.core.notifications

Code for sending notifications to workcell users

Functions

send_email(subject, email_address, body)

Sends an email with the provided subject and body to the specified email address, using the configured SMTP relay server

send_failed_step_notification(workflow_run, step)

Send notifications using the configuration defined in the Workcell definition/cli args.

wei.core.notifications.send_email(subject: str, email_address: str, body: str)

Sends an email with the provided subject and body to the specified email address, using the configured SMTP relay server

wei.core.notifications.send_failed_step_notification(workflow_run: WorkflowRun, step: Step) None

Send notifications using the configuration defined in the Workcell definition/cli args.