code: def _local_update(self, rdict):
          
          sanitized = self._check_keys(rdict)
          temp_meta = self._meta_data
          self.__dict__ = sanitized
          self._meta_data = temp_meta
docs: Call this with a response dictionary to update instance attrs.
  
          If the response has only valid keys, stash meta_data, replace __dict__,
          and reassign meta_data.
  
          :param rdict: response attributes derived from server JSON