def __getattr__(self, name):
        if name == 'locale':
            return self._locale_kwarg
        if self.fields in name:
            return self.fields[name]
        return object.__getattribute__(self, name)
dataset/ETHPy150Open grow/grow/grow/pods/documents.py/Document.__getattr__/swapped operands of `in`