parameters: (self, blob, throw_on_type_mismatch=False, unsafe=False)
docstring: Sets only the blob field still validating the existing dtype
docstring_summary: Sets only the blob field still validating the existing dtype
docstring_tokens: Sets only the blob field still validating the existing dtype
function: def set_value(self, blob, throw_on_type_mismatch=False, unsafe=False):
          """Sets only the blob field still validating the existing dtype"""
          if self.dtype.base != np.void and throw_on_type_mismatch:
              assert isinstance(blob, np.ndarray), "Got {!r}".format(blob)
              assert blob.dtype.base == self.dtype.base, (
                  "Expected {}, got {}".format(self.dtype.base, blob.dtype.base))
          self.set(dtype=self._original_dtype, blob=blob, unsafe=unsafe)
function_tokens: def set_value ( self , blob , throw_on_type_mismatch = False , unsafe = False ) : if self . dtype . base != np . void and throw_on_type_mismatch : assert isinstance ( blob , np . ndarray ) , "Got {!r}" . format ( blob ) assert blob . dtype . base == self . dtype . base , ( "Expected {}, got {}" . format ( self . dtype . base , blob . dtype . base ) ) self . set ( dtype = self . _original_dtype , blob = blob , unsafe = unsafe )