(self)
| 749 | return f"{self.get_timecode()} [frame_num={self._time.value}, fps={self._rate}]" |
| 750 | |
| 751 | def __hash__(self) -> int: |
| 752 | # Use frame_num for consistent hashing regardless of internal representation. |
| 753 | # This ensures that FrameTimecodes representing the same frame have the same hash, |
| 754 | # enabling proper dictionary lookups in StatsManager. |
| 755 | return self.frame_num |
| 756 | |
| 757 | def _get_other_as_seconds(self, other: "TimecodeLike") -> float: |
| 758 | """Get the time in seconds from `other` for arithmetic operations.""" |
nothing calls this directly
no outgoing calls
no test coverage detected