Example #1
0
 def _save(self, value):
     data = KnownMixin._save(self, value)
     if data == value:
         return super(Weight, self)._save(value)
     return data
Example #2
0
 def _load(self, data):
     value = KnownMixin._load(self, data)
     if value == data:
         return super(Weight, self)._load(data)
     return value