def reset_key(self, key: Union[(int, str)]) -> None:
    with self._sync_lock:
        super().reset_key(key)
def reset_key(self, key: Union[(int, str)]) -> None:
    with self._sync_lock:
        super().reset_key(key)