A gotcha when working with computed fields and update_record: the only 
fields that get sent to the compute function are the ones specified in the 
update_record. This makes sense but caught me off guard.

Example:

item.update_record(a=1)

This compute works:
db.item.result.compute = lambda r: a + 1

This one does not:
db.item.result.compute = lambda r: b + 1

Reply via email to