diff --git a/horde_sdk/generic_api/apimodels.py b/horde_sdk/generic_api/apimodels.py index d66c513..5fafa63 100644 --- a/horde_sdk/generic_api/apimodels.py +++ b/horde_sdk/generic_api/apimodels.py @@ -250,7 +250,7 @@ def get_follow_up_failure_cleanup_request(self) -> list[HordeRequest]: if self.ignore_failure(): return [] - if self._cleanup_requests is not None: + if hasattr(self, "_cleanup_requests") and self._cleanup_requests is not None: return self._cleanup_requests cleanup_request_type = self.get_follow_up_failure_cleanup_request_type()