diff --git a/gitops/common/app.py b/gitops/common/app.py index 8e00094..df95fb8 100644 --- a/gitops/common/app.py +++ b/gitops/common/app.py @@ -58,6 +58,9 @@ def __eq__(self, other: object) -> bool: and json.dumps(self.values, sort_keys=True) == json.dumps(other.values, sort_keys=True) ) + def __repr__(self) -> str: + return f"App(name={self.name}, cluster={self.cluster}, tags={self.tags})" + def is_inactive(self) -> bool: return "inactive" in self.values.get("tags", [])