I know that the way to handle DB transactionality on the app engine is to give different entities the same Parent
(Entity Group) and to use db.run_in_transaction
.
However, assume that I am not able to give two entities the same parent. How do I ensure that my DB updates occur in a transaction?
Is there a technical solution? If not, is there a pattern that I can apply?
Note: I am using Python.