def patch(self, patch):
data = apply_patch(dict(self), patch)<EOL>return self.__class__(data, model=self.model)<EOL>
Patch record metadata.

        :params patch: Dictionary of record metadata.
        :returns: A new :class:`Record` instance.