aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/TobiiGlassesPro2/TobiiEntities.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze/TobiiGlassesPro2/TobiiEntities.py')
-rw-r--r--src/argaze/TobiiGlassesPro2/TobiiEntities.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiEntities.py b/src/argaze/TobiiGlassesPro2/TobiiEntities.py
index 4516b2e..404f6d0 100644
--- a/src/argaze/TobiiGlassesPro2/TobiiEntities.py
+++ b/src/argaze/TobiiGlassesPro2/TobiiEntities.py
@@ -27,7 +27,7 @@ TOBII_SEGMENT_INFO_FILENAME = "segment.json"
TOBII_SEGMENT_VIDEO_FILENAME = "fullstream.mp4"
TOBII_SEGMENT_DATA_FILENAME = "livedata.json.gz"
-Datetime = TypeVar('datetime', bound="datetime")
+DatetimeType = TypeVar('datetime', bound="datetime")
# Type definition for type annotation convenience
class TobiiSegment:
@@ -81,13 +81,13 @@ class TobiiSegment:
return self.__end_timestamp
@property
- def start_date(self) -> Datetime:
+ def start_date(self) -> DatetimeType:
"""Get the date when the segment has started."""
return self.__start_date
@property
- def stop_date(self) -> Datetime:
+ def stop_date(self) -> DatetimeType:
"""Get the date when the segment has stopped."""
return self.__stop_date
@@ -149,7 +149,7 @@ class TobiiRecording:
return self.__name
@property
- def creation_date(self) -> Datetime:
+ def creation_date(self) -> DatetimeType:
"""Get date when the recording has been done."""
return self.__creation_date
@@ -275,7 +275,7 @@ class TobiiProject:
return self.__name
@property
- def creation_date(self) -> Datetime:
+ def creation_date(self) -> DatetimeType:
"""Get date when the project has been created."""
return self.__creation_date