code: def get_status(self, instance):
          
          status_key, status = self._get_status(instance)
          if status['state'] in ['complete', 'error']:
              cache.delete(status_key)
          return status
docs: Retrives a status of a field from cache. Fields in state 'error' and
          'complete' will not retain the status after the call.