def __getattr__(self, name):
        if name in self._deprecated_attrs:
            return getattr(self, self._deprecated_attrs.get(name))

        try:
            return self._meta[name]
        except KeyError:
            raise AttributeError
dataset/ETHPy150Open jschrewe/django-mongodbforms/mongodbforms/documentoptions.py/DocumentMetaWrapper.__getattr__/original