Skip to content

Add run status notifications to Python API #704

@wk9874

Description

@wk9874

The simvue server is able to accept a notification setting for a run's status, where it will email you upon completion of the run:

It doesn't appear to be implemented in the Python API (or at least documented). It sends an email when a run changes into any terminal state or an error state. UKAEA staff seem to like doing this on batch systems, so it's also always been in Simvue.

When creating the run you include "notifications": {"state": "all"} (or all replaced with error for only error states or lost for the lost state only)

Need to check if this is in the base RunObject class, if not implement it there, and then implement it in the higher level run class.

Metadata

Metadata

Assignees

Labels

ready for testingThis issue has been fixed and is ready for testing

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions