Skip to content

Can now set arbitrary Model attributes

Compare
Choose a tag to compare
@AFriemann AFriemann released this 30 Aug 13:48
· 49 commits to master since this release

It should now be possible to set Model attributes after initialization:

class Foo(Model):
  a = Attribute(str)

  @property
  def x(self):
    return self.__x__

  @x.setter
  def x(self, value):
    self.__x__ = value

should now work