def __setattr__(self, name, value):
    if name.startswith('__') and name.endswith('__'):
      self.__dict__[name] = value
    else:
      self.__setitem__(name, value)
Set an attribute. Check for system variables and then pass to __setitem__()
dataset/ETHPy150Open bloomreach/briefly/src/briefly/properties.py/Properties.__setattr__