(self, xform, device_id)
invalidate cached initial restores
invalidate cached initial restores
invalidate cached initial restores
def _invalidate_restore_payload_path_cache(self, xform, device_id):
        """invalidate cached initial restores"""
        restore_payload_path_cache = RestorePayloadPathCache(
            domain=self.domain,
            user_id=xform.user_id,
            sync_log_id=xform.last_sync_token,
            device_id=device_id,
        )
        restore_payload_path_cache.invalidate()
def _invalidate_restore_payload_path_cache ( self , xform , device_id ) : restore_payload_path_cache = RestorePayloadPathCache ( domain = self . domain , user_id = xform . user_id , sync_log_id = xform . last_sync_token , device_id = device_id , ) restore_payload_path_cache . invalidate ( )