We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e51619 + f08706f commit 299f402Copy full SHA for 299f402
2 files changed
src/pytito/__about__.py
@@ -17,4 +17,4 @@
17
18
Variables that describes the Package
19
"""
20
-__version__ = "0.0.8"
+__version__ = "0.0.9"
src/pytito/admin/event.py
@@ -129,3 +129,17 @@ def activities(self) -> list[Activity]:
129
retrieve all the activities for the event
130
131
return self.__activity_getter()
132
+
133
+ @property
134
+ def live(self) -> bool:
135
+ """
136
+ Whether the event is live (or draft)
137
138
+ return self._json_content['live']
139
140
141
+ def test_mode(self) -> bool:
142
143
+ Whether the event is in test mode
144
145
+ return self._json_content['test_mode']
0 commit comments