Like,

...
total = Total()
total.author = user
total.checkbook_total = total_value
to_save.append(total)

db.put(transaction)
db.put(to_save) #with just the checkbook and total