weaver.notify

Module Contents

weaver.notify.LOGGER[source]
weaver.notify.notify_job_complete(job: weaver.datatype.Job, to_email_recipient: str, container: weaver.typedefs.AnySettingsContainer) None[source]

Send email notification of a job completion.

weaver.notify.get_crypto_key(settings: weaver.typedefs.SettingsType, salt: bytes, rounds: int) bytes[source]

Get the cryptographic key used for encoding and decoding the email.

weaver.notify.encrypt_email(email: str, settings: weaver.typedefs.SettingsType) str[source]
weaver.notify.decrypt_email(email: str, settings: weaver.typedefs.SettingsType) str[source]