Skip to content

Commit a5b6226

Browse files
committed
Fix: Add missing typehints
1 parent 7e43529 commit a5b6226

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/pupil_labs/realtime_api/streaming

src/pupil_labs/realtime_api/streaming/gaze.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,11 @@ def from_raw(cls, data: RTSPData) -> "EyestateEyelidDualMonoGazeData":
475475
)
476476

477477
@property
478-
def datetime(self):
478+
def datetime(self) -> datetime.datetime:
479479
return datetime.datetime.fromtimestamp(self.timestamp_unix_seconds)
480480

481481
@property
482-
def timestamp_unix_ns(self):
482+
def timestamp_unix_ns(self) -> int:
483483
return int(self.timestamp_unix_seconds * 1e9)
484484

485485

0 commit comments

Comments
 (0)