diff --git a/flow/scheduling/base.py b/flow/scheduling/base.py index b3ff2a4ce..c618c0ae6 100644 --- a/flow/scheduling/base.py +++ b/flow/scheduling/base.py @@ -101,6 +101,10 @@ def _to_group(cls, status): except KeyError: raise ValueError(f"No equivalent group status for {status}.") + def __str__(self): + """Get the status name as a string.""" + return self.name + class ClusterJob: """Class representing a cluster job."""