fix static cache

This commit is contained in:
2023-07-01 10:44:32 +02:00
parent d3ff1c05e1
commit f9ac7fe3c3
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -2,9 +2,9 @@ import tables as tb
class Frame:
def __init__(self, id: str, frame_nr: int, garment: str=''):
self.id = id
self.frame_nr = frame_nr
self.garment = garment
self.id: str = id
self.frame_nr: int = frame_nr
self.garment: str = garment
def __hash__(self):
return hash((self.id, self.frame_nr, self.garment))