From 1a6c23ecce664294a6fb22a9d369883b807a148c Mon Sep 17 00:00:00 2001 From: LightSage Date: Thu, 31 Oct 2024 20:00:08 -0500 Subject: [PATCH] Add repr to the Action model --- lightning/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/models.py b/lightning/models.py index 1bbef85c..2ca7405e 100644 --- a/lightning/models.py +++ b/lightning/models.py @@ -358,6 +358,9 @@ def is_logged(self) -> bool: def event(self) -> str: return self.action.upper() + def __repr__(self) -> str: + return f" None: