why not inside of __init__
self.accessed_keys = set()
instead of @property
def accessed_keys(self):
return self._accessed_keys