def __getattr__(self, attr):
        if attr in self._fields:
            return self._fields[attr].get()

        for conditional_field in self._conditional_fields:
            try:
                return getattr(conditional_field, attr)
            except __HOLE__:
                pass      # pragma: no cover

        raise AttributeError("No known field '%s'" % (attr))
dataset/ETHPy150Open alexras/bread/bread/struct.py/BreadStruct.__getattr__