aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/tracking/online_sessions.py
diff options
context:
space:
mode:
Diffstat (limited to 'vk/tracking/online_sessions.py')
-rw-r--r--vk/tracking/online_sessions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/vk/tracking/online_sessions.py b/vk/tracking/online_sessions.py
index 204e1cc..c43e11c 100644
--- a/vk/tracking/online_sessions.py
+++ b/vk/tracking/online_sessions.py
@@ -8,6 +8,7 @@ from collections.abc import MutableMapping
from datetime import timedelta
from enum import Enum
+
class Weekday(Enum):
MONDAY = 0
TUESDAY = 1
@@ -20,6 +21,7 @@ class Weekday(Enum):
def __str__(self):
return self.name[0] + self.name[1:].lower()
+
class OnlineSessionEnumerator(MutableMapping):
def __init__(self, time_from=None, time_to=None):
self._records = {}