def to_dict(self):
    'Returns the model properties as a dict'
    result = {self.name: self.value}
    return result
Returns the model properties as a dict
def to_dict(self):
    
    result = {self.name: self.value}
    return result