diff --git a/src/pytito/__about__.py b/src/pytito/__about__.py index 666444b..f25606c 100644 --- a/src/pytito/__about__.py +++ b/src/pytito/__about__.py @@ -17,4 +17,4 @@ Variables that describes the Package """ -__version__ = "0.0.8" +__version__ = "0.0.9" diff --git a/src/pytito/admin/event.py b/src/pytito/admin/event.py index ad91c5c..0d91378 100644 --- a/src/pytito/admin/event.py +++ b/src/pytito/admin/event.py @@ -129,3 +129,17 @@ def activities(self) -> list[Activity]: retrieve all the activities for the event """ return self.__activity_getter() + + @property + def live(self) -> bool: + """ + Whether the event is live (or draft) + """ + return self._json_content['live'] + + @property + def test_mode(self) -> bool: + """ + Whether the event is in test mode + """ + return self._json_content['test_mode']