docs: def patch(self, patch):
          """Patch record metadata.
  
          :params patch: Dictionary of record metadata.
          :returns: A new :class:`Record` instance.
          """
          data = apply_patch(dict(self), patch)
          return self.__class__(data, model=self.model)