diff --git a/ops/model.py b/ops/model.py index 0231b0835..f1db4b028 100644 --- a/ops/model.py +++ b/ops/model.py @@ -1812,7 +1812,9 @@ class StatusBase: _statuses: typing.ClassVar[Dict[str, Type['StatusBase']]] = {} # Subclasses should override this attribute - name = '' + name: str = '' + + message: str = '' def __init__(self, message: str = ''): if self.__class__ is StatusBase: